Skip to content
GitHub Actions / golangci failed Jun 22, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (7)

controller/adapter.go|1| : # github.com/traPtitech/anke-to/controller
controller/questionnaire.go|345 col 1| missing return (typecheck)
handler/questionnaire.go|8 col 2| could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
controller/questionnaire.go|345 col 1| missing return) (typecheck)
model/administratorGroups.go|1| : # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
model/questionnaires_test.go|1327 col 39| actualTargetGroups declared and not used
model/questionnaires_test.go|1327 col 81| actualAdministratorGroups declared and not used

Filtered Findings (9)

wire_gen.go|12 col 2| could not import github.com/traPtitech/anke-to/router (-: # github.com/traPtitech/anke-to/router
router/questionnaires.go|123 col 123| not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
router/questionnaires.go|253 col 62| assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values
router/results.go|36 col 91| not enough arguments in call to r.GetRespondentDetails
model/questionnaires_test.go|1056 col 163| not enough arguments in call to questionnaireImpl.GetQuestionnaires
model/respondents_test.go|870 col 101| not enough arguments in call to respondentImpl.GetRespondentDetails
router/questionnaires.go|123 col 138| not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
router/questionnaires.go|253 col 62| assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values (typecheck)
router/results.go|36 col 95| not enough arguments in call to r.GetRespondentDetails

Annotations

Check failure on line 1 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L1

: # github.com/traPtitech/anke-to/controller
Raw output
controller/adapter.go:1: : # github.com/traPtitech/anke-to/controller

Check failure on line 345 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L345

missing return (typecheck)
Raw output
controller/questionnaire.go:345:1: missing return (typecheck)
package controller

Check failure on line 8 in handler/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] handler/questionnaire.go#L8

could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Raw output
handler/questionnaire.go:8:2: could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller

Check failure on line 345 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L345

missing return) (typecheck)
Raw output
controller/questionnaire.go:345:1: missing return) (typecheck)
	"github.com/traPtitech/anke-to/controller"
	^

Check failure on line 1 in model/administratorGroups.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] model/administratorGroups.go#L1

: # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
Raw output
model/administratorGroups.go:1: : # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]

Check failure on line 1327 in model/questionnaires_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] model/questionnaires_test.go#L1327

actualTargetGroups declared and not used
Raw output
model/questionnaires_test.go:1327:39: actualTargetGroups declared and not used

Check failure on line 1327 in model/questionnaires_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] model/questionnaires_test.go#L1327

actualAdministratorGroups declared and not used
Raw output
model/questionnaires_test.go:1327:81: actualAdministratorGroups declared and not used