Merge pull request #5 from go-park-mail-ru/PRI-3 #10
Annotations
10 errors and 1 warning
Linters:
internal/pkg/utils/utils.go#L23
Error return value of `w.Write` is not checked (errcheck)
|
Linters:
cmd/main/main.go#L25
commentFormatting: put a space between `//` and comment text (gocritic)
|
Linters:
internal/pkg/jwt/jwt.go#L7
File is not `goimports`-ed (goimports)
|
Linters:
internal/pkg/auth/usecase/usecase.go#L10
File is not `goimports`-ed (goimports)
|
Linters:
internal/pkg/auth/repo/postgres.go#L47
line is 108 characters (lll)
|
Linters:
internal/pkg/auth/usecase/usecase.go#L25
line is 120 characters (lll)
|
Linters:
internal/pkg/auth/usecase/usecase.go#L45
line is 119 characters (lll)
|
Linters:
cmd/main/main.go#L46
line is 133 characters (lll)
|
Linters:
internal/pkg/middleware/auth.go#L45
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Linters:
internal/pkg/jwt/jwt.go#L39
ST1003: func ParseId should be ParseID (stylecheck)
|
Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|