Skip to content

Change metodes as service metodes #8

Change metodes as service metodes

Change metodes as service metodes #8

Triggered via push September 25, 2023 12:04
Status Failure
Total duration 18s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
test: redirection/redirectsstore.go#L67
Consider pre-allocating `operations` (prealloc)
test: redirection/redirectsstore.go#L61
unnecessary trailing newline (whitespace)
test: redirection/redirectsstore.go#L65
unnecessary leading newline (whitespace)
test: redirection/redirection.go#L4
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: redirection/redirection.go#L5
import 'github.com/foomo/keel/persistence/mongo' is not allowed from list 'Main' (depguard)
test: redirection/redirectsstore.go#L6
import 'github.com/foomo/keel/persistence/mongo' is not allowed from list 'Main' (depguard)
test: services/redirect/redirect.go#L4
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: services/redirect/redirect.go#L5
import 'github.com/foomo/redirects/redirection' is not allowed from list 'Main' (depguard)
test: redirection/redirectsstore.go#L19
named return "rs" with type "*RedirectsStore" found (nonamedreturns)
test: services/redirect/redirect.go#L11
param new has same name as predeclared identifier (predeclared)
test: redirection/redirection.go#L27
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L32
unused-parameter: parameter 'dimension' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L37
unused-parameter: parameter 'def' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L42
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L47
unused-parameter: parameter 'def' seems to be unused, consider removing or renaming it as _ (revive)