Skip to content

Update golangci-lint.yml #237

Update golangci-lint.yml

Update golangci-lint.yml #237

Triggered via push November 28, 2024 13:58
Status Failure
Total duration 1m 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/logger/logger.go#L37
G115: integer overflow conversion int -> uint32 (gosec)
lint: app/infrastructure/gormx/common.go#L94
G115: integer overflow conversion uint -> int (gosec)
lint: app/application/seed.go#L124
S1009: should omit nil check; len() for github.com/linzhengen/ddd-gin-admin/app/application.SeedMenus is defined as zero (gosimple)
lint: app/interfaces/api/gin.go#L57
printf: non-constant format string in call to github.com/linzhengen/ddd-gin-admin/app/domain/errors.Wrap400Response (govet)
lint: app/interfaces/api/gin.go#L64
printf: non-constant format string in call to github.com/linzhengen/ddd-gin-admin/app/domain/errors.Wrap400Response (govet)
lint: app/interfaces/api/gin.go#L71
printf: non-constant format string in call to github.com/linzhengen/ddd-gin-admin/app/domain/errors.Wrap400Response (govet)
lint: app/interfaces/api/gin.go#L131
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Warnf (govet)
lint: app/interfaces/api/gin.go#L133
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Errorf (govet)
lint: app/interfaces/api/handler/login.go#L117
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Errorf (govet)
lint: injector/api/app.go#L118
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Errorf (govet)