Upgrade linter rules

This commit is contained in:
arnaucube
2020-12-15 19:33:14 +01:00
parent 730707e565
commit e5a3d7e049
10 changed files with 244 additions and 178 deletions

View File

@@ -51,7 +51,7 @@ func TestLevelDbInterface(t *testing.T) {
func TestMain(m *testing.M) {
result := m.Run()
for _, dir := range rmDirs {
os.RemoveAll(dir)
os.RemoveAll(dir) //nolint:errcheck,gosec
}
os.Exit(result)
}