Update golint, dependencies and get to sane state (#313)

* Update golangci-lint config

* Fix mutex embedding lint issue

* Change go version

* Update dependencies

* Bump golangci-lint version
This commit is contained in:
Joona Hoikkala
2022-08-10 15:17:11 +03:00
committed by GitHub
parent a33c09accf
commit 0c3d538de8
5 changed files with 80 additions and 79 deletions

View File

@ -63,7 +63,7 @@ type logconfig struct {
}
type acmedb struct {
sync.Mutex
Mutex sync.Mutex
DB *sql.DB
}
@ -76,6 +76,4 @@ type database interface {
GetBackend() *sql.DB
SetBackend(*sql.DB)
Close()
Lock()
Unlock()
}