Skip to content

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse #1735

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse #1735

GitHub Actions / golangci failed Aug 30, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (2)

handler/questionnaire.go|6 col 2| "time" imported and not used (typecheck)
handler/questionnaire.go|6 col 2| "time" imported and not used) (typecheck)

Filtered Findings (14)

handler/handler.go|1| : # github.com/traPtitech/anke-to/handler
main.go|13 col 2| could not import github.com/traPtitech/anke-to/handler (-: # github.com/traPtitech/anke-to/handler
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/administratorGroups.go|1| : # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
model/questionnaires_test.go|1056 col 163| not enough arguments in call to questionnaireImpl.GetQuestionnaires
model/questionnaires_test.go|1327 col 39| actualTargetGroups declared and not used
model/questionnaires_test.go|1327 col 81| actualAdministratorGroups declared and not used
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 6 in handler/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] handler/questionnaire.go#L6

"time" imported and not used (typecheck)
Raw output
handler/questionnaire.go:6:2: "time" imported and not used (typecheck)
package handler

Check failure on line 6 in handler/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] handler/questionnaire.go#L6

"time" imported and not used) (typecheck)
Raw output
handler/questionnaire.go:6:2: "time" imported and not used) (typecheck)
	"github.com/traPtitech/anke-to/handler"
	^