kubo/core/coreunix
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
..
test/data Fix wrong added filename 2018-06-28 09:07:23 -04:00
add_test.go fix: resolve TestAddMultipleGCLive race condition (#10916) 2025-08-18 20:49:26 +02:00
add.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
metadata_test.go feat: go-libp2p 0.36 and /webrtc-direct listener (#10463) 2024-08-06 21:25:27 +02:00
metadata.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00