Skip to content

feat(domain): add get all route #6

feat(domain): add get all route

feat(domain): add get all route #6

Triggered via pull request January 12, 2025 18:06
Status Failure
Total duration 59s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: repositories/base_repository.go#L40
paramTypeCombine: func(ctx context.Context, field string, value interface{}, result interface{}) error could be replaced with func(ctx context.Context, field string, value, result interface{}) error (gocritic)
lint: repositories/base_repository.go#L55
paramTypeCombine: func(ctx context.Context, filter interface{}, result interface{}) error could be replaced with func(ctx context.Context, filter, result interface{}) error (gocritic)
lint: repositories/base_repository.go#L69
paramTypeCombine: func(ctx context.Context, filter interface{}, results interface{}) error could be replaced with func(ctx context.Context, filter, results interface{}) error (gocritic)
lint: repositories/base_repository.go#L51
return with no blank line before (nlreturn)
lint: repositories/base_repository.go#L65
return with no blank line before (nlreturn)
lint: pkg/validator/validator.go#L61
Error return value of `en_translations.RegisterDefaultTranslations` is not checked (errcheck)
lint: services/domain/domain_get.go#L14
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: deliveries/http/handlers/domain_handler/domain_create.go#L50
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: deliveries/http/handlers/domain_handler/domain_get.go#L29
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: repositories/domain/domain_repository.go#L23
hugeParam: d is heavy (96 bytes); consider passing it by pointer (gocritic)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636