chore: init #2
Annotations
10 errors and 1 warning
golangci-lint:
pkg/validator/validator.go#L61
Error return value of `en_translations.RegisterDefaultTranslations` is not checked (errcheck)
|
golangci-lint:
deliveries/http/handlers/domain_handler/domain_create.go#L44
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
golangci-lint:
repositories/domain/domain.go#L26
hugeParam: d is heavy (80 bytes); consider passing it by pointer (gocritic)
|
golangci-lint:
pkg/validator/validator.go#L66
Consider pre-allocating `errors` (prealloc)
|
golangci-lint:
services/domain/domain_validator.go#L1
var-naming: don't use MixedCaps in package name; domainService should be domainservice (revive)
|
golangci-lint:
services/domain/domain_create.go#L1
var-naming: don't use MixedCaps in package name; domainService should be domainservice (revive)
|
golangci-lint:
services/domain/domain_error.go#L1
var-naming: don't use MixedCaps in package name; domainService should be domainservice (revive)
|
golangci-lint:
repositories/domain/domain.go#L18
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
golangci-lint:
deliveries/http/http_handlers.go#L5
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
|
golangci-lint:
deliveries/http/http_handlers.go#L25
var-naming: type HttpHandlers should be HTTPHandlers (revive)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading