Add golangci-lint and fix a couple issues it found. I used the config file currently in hostd. I think the linters are a bit nitpicky (they say having banned and Banned on EphemeralPeerStore is confusing) but I didn't disagree enough to make an exception with //nolint.
Add golangci-lint and fix a couple issues it found. I used the config file currently in hostd. I think the linters are a bit nitpicky (they say having
banned
andBanned
on EphemeralPeerStore is confusing) but I didn't disagree enough to make an exception with//nolint
.