mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 11:21:04 +01:00
fd67892cb4
Refactor the flat code structure
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
|
|
```
|