Skip to content

feat(domain): add get all route #12

feat(domain): add get all route

feat(domain): add get all route #12

Triggered via pull request January 12, 2025 20:04
Status Failure
Total duration 57s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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: repositories/domain_repository.go#L49
return with no blank line before (nlreturn)
lint: repositories/domain_repository.go#L47
return with no blank line before (nlreturn)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636