feat(domain): add get all route #11
Annotations
10 errors and 1 warning
lint:
schemas/domain_schema.go#L3
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
lint:
deliveries/http/handlers/domain_handler/domain_request.go#L4
tag is not aligned, should be: form:"domain" json:"domain" query:"domain" validate:"required,hostname" (tagalign)
|
lint:
deliveries/http/handlers/domain_handler/domain_request.go#L6
tag is not aligned, should be: form:"default_ttl" json:"default_ttl" query:"default_ttl" validate:"required,min=1" (tagalign)
|
lint:
deliveries/http/handlers/domain_handler/domain_request.go#L7
tag is not aligned, should be: form:"status" json:"status" query:"status" validate:"required,oneof=active inactive" (tagalign)
|
lint:
services/domainservice/domain_validator.go#L3
type `insertDomainValidation` is unused (unused)
|
lint:
pkg/validator/validator.go#L46
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
lint:
repositories/domain_repository.go#L42
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
repositories/domain_repository.go#L43
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
lint:
pkg/validator/validator.go#L78
return with no blank line before (nlreturn)
|
lint:
repositories/domain_repository.go#L35
return with no blank line before (nlreturn)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|