mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 19:31:06 +01:00
8 lines
293 B
Markdown
8 lines
293 B
Markdown
|
## Mocks
|
||
|
|
||
|
To generate (or refresh) mocks from iface package interfaces please install [mockgen](https://github.com/golang/mock).
|
||
|
Run this command to update PacketFilter mock:
|
||
|
```bash
|
||
|
mockgen -destination iface/mocks/filter.go -package mocks github.com/netbirdio/netbird/iface PacketFilter
|
||
|
```
|