netbird/sharedsock
Yury Gargay d1a323fa9d
Add gocritic linter (#1324)
* Add gocritic linter

`gocritic` provides diagnostics that check for bugs, performance, and style issues

We disable the following checks:

- commentFormatting
- captLocal
- deprecatedComment

This PR contains many `//nolint:gocritic` to disable `appendAssign`.
2023-11-27 16:40:02 +01:00
..
example Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
filter.go Add sharedsock example (#1116) 2023-08-31 17:01:32 +02:00
sock_linux_test.go Correct sharedsock BPF fields (#835) 2023-05-04 12:28:32 +02:00
sock_linux.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
sock_nolinux.go Add sharedsock example (#1116) 2023-08-31 17:01:32 +02:00
stun_filter_linux.go Add sharedsock example (#1116) 2023-08-31 17:01:32 +02:00
stun_filter_nolinux.go Add sharedsock example (#1116) 2023-08-31 17:01:32 +02:00