feat: replace pure SQL strings with SQLair #645
Annotations
10 errors
golangci-lint:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
golangci-lint:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
golangci-lint:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate) (typecheck)
|
golangci-lint:
internal/server/middleware.go#L13
could not import github.com/canonical/notary/internal/metrics (-: # github.com/canonical/notary/internal/metrics
|
golangci-lint:
internal/metrics/metrics.go#L98
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
golangci-lint:
internal/metrics/metrics.go#L102
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)
|
golangci-lint:
internal/metrics/metrics.go#L106
entry.Certificate undefined (type db.CertificateRequest has no field or method Certificate)) (typecheck)
|
golangci-lint:
internal/server/handlers_accounts.go#L97
cannot use env.DB.RetrieveUserByUsername(claims.Username) (value of type *db.User) as db.User value in assignment (typecheck)
|
golangci-lint:
internal/server/handlers_accounts.go#L99
env.DB.RetrieveUser undefined (type *db.Database has no field or method RetrieveUser) (typecheck)
|
golangci-lint:
internal/server/handlers_accounts.go#L158
assignment mismatch: 2 variables but env.DB.CreateUser returns 1 value (typecheck)
|
Loading