chore(lint): add musttag linter and fix lint errors

Breaking change: JSON fields changed in the server API
This commit is contained in:
Quentin McGaw
2023-06-08 07:26:29 +00:00
parent 37f0e5c73b
commit 0da2b6ad0b
13 changed files with 77 additions and 76 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/qdm12/gluetun/internal/constants/providers"
)
type AllServers struct {
type AllServers struct { //nolint:musttag
Version uint16 // used for migration of the top level scheme
ProviderToServers map[string]Servers
}