netbird/util
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
..
common.go Load user profile when SSH (#380) 2022-07-07 11:24:38 +02:00
duration.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
file_test.go Allow to create config file next to binary (#701) 2023-02-28 17:01:38 +01:00
file.go Add direct write file to avoid moving docker mounted files (#1155) 2023-09-22 10:25:04 +02:00
log.go Add human-readbale log output (#681) 2023-02-27 12:20:07 +01:00
membership_unix.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
membership_windows.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
retry.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
util_suite_test.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00