Skip to content

chore: update linter selection #4

chore: update linter selection

chore: update linter selection #4

Triggered via push September 26, 2024 14:37
Status Failure
Total duration 56s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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)
lint: pkg/config/config.go#L12
var-naming: struct field HttpPort should be HTTPPort (revive)
lint: pkg/config/config.go#L15
var-naming: struct field ShortIdLength should be ShortIDLength (revive)
lint: pkg/config/config.go#L21
var-naming: type ShortIdLimit should be ShortIDLimit (revive)
lint: internal/common/model/url.go#L10
var-naming: type Url should be URL (revive)