feat: linting through github actions #1
Annotations
10 errors
lint:
cmd/api/main.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
internal/auth/model/user.go#L9
Comment should end in a period (godot)
|
lint:
pkg/validation/interface.go#L3
Comment should end in a period (godot)
|
lint:
pkg/validation/options.go#L13
Comment should end in a period (godot)
|
lint:
pkg/utils/idgen.go#L9
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
lint:
pkg/response/error.go#L12
G101: Potential hardcoded credentials (gosec)
|
lint:
internal/create/dto/create.go#L8
var-naming: struct field LongUrl should be LongURL (revive)
|
lint:
internal/create/dto/create.go#L13
var-naming: struct field ShortId should be ShortID (revive)
|
lint:
internal/create/dto/create.go#L14
var-naming: struct field LongUrl should be LongURL (revive)
|
lint:
pkg/utils/idgen.go#L8
var-naming: func IdGenerator should be IDGenerator (revive)
|