kubo/cmd/ipfs/util
Marcin Rataj 4f4dac9564 chore: fix all golangci-lint staticcheck issues
align kubo with unified golang ci linter from IPDX and
rules used in boxo and other go packages

addressed lint rules:
- ST1000: added package comments
- ST1020, ST1021, ST1022: fixed function/method comments
- QF1001: applied De Morgan's law
- QF1003: converted if-else chains to tagged switches
- QF1004: replaced strings.Replace with strings.ReplaceAll
- QF1008: simplified embedded struct field selectors
- unconvert: removed unnecessary type conversions
- usestdlibvars: used stdlib constants instead of literals

disabled errcheck linter in .golangci.yml
2025-08-20 02:07:42 +02:00
..
signal_wasm.go main: move InterruptHandler to util 2018-12-26 12:39:59 -08:00
signal.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
ui_windows.go cmd: ipfs handle GUI environment on Windows 2020-03-12 16:15:23 -07:00
ui.go go fmt 2022-05-03 14:09:38 -04:00
ulimit_freebsd.go go fmt 2022-05-03 14:09:38 -04:00
ulimit_test.go go fmt 2022-05-03 14:09:38 -04:00
ulimit_unix.go go fmt 2022-05-03 14:09:38 -04:00
ulimit_windows.go go fmt 2022-05-03 14:09:38 -04:00
ulimit.go chore: use go-log/v2 (#10801) 2025-05-19 13:04:05 -07:00