mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-02 04:53:51 +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
|
||
|
```
|