Skip to content

アンケート対象者&管理者のグループ管理 #1816

アンケート対象者&管理者のグループ管理

アンケート対象者&管理者のグループ管理 #1816

GitHub Actions / golangci failed Jan 27, 2025 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (17)

controller/questionnaire.go|170 col 11| q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
controller/questionnaire.go|175 col 11| q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
controller/questionnaire.go|195 col 11| q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
controller/questionnaire.go|200 col 11| q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
controller/questionnaire.go|355 col 112| q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
controller/questionnaire.go|369 col 112| q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
controller/questionnaire.go|405 col 12| q.DeleteTargets undefined (type Questionnaire has no field or method DeleteTargets) (typecheck)
controller/questionnaire.go|410 col 12| q.DeleteTargetGroups undefined (type Questionnaire has no field or method DeleteTargetGroups) (typecheck)
controller/questionnaire.go|420 col 12| q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
controller/questionnaire.go|425 col 12| q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
controller/questionnaire.go|430 col 12| q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
controller/questionnaire.go|437 col 12| q.DeleteAdministrators undefined (type Questionnaire has no field or method DeleteAdministrators) (typecheck)
controller/questionnaire.go|442 col 12| q.DeleteAdministratorGroups undefined (type Questionnaire has no field or method DeleteAdministratorGroups) (typecheck)
controller/questionnaire.go|452 col 12| q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
controller/questionnaire.go|457 col 12| q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
controller/questionnaire.go|462 col 12| q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
controller/questionnaire.go|690 col 48| q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)

Filtered Findings (0)

Annotations

Check failure on line 170 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L170

q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
Raw output
controller/questionnaire.go:170:11: q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
		err = q.InsertTargetUsers(ctx, questionnaireID, params.Target.Users)
		        ^

Check failure on line 175 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L175

q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
Raw output
controller/questionnaire.go:175:11: q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
		err = q.InsertTargetGroups(ctx, questionnaireID, params.Target.Groups)
		        ^

Check failure on line 195 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L195

q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
Raw output
controller/questionnaire.go:195:11: q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
		err = q.InsertAdministratorUsers(ctx, questionnaireID, params.Admin.Users)
		        ^

Check failure on line 200 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L200

q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
Raw output
controller/questionnaire.go:200:11: q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
		err = q.InsertAdministratorGroups(ctx, questionnaireID, params.Admin.Groups)
		        ^

Check failure on line 355 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L355

q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
Raw output
controller/questionnaire.go:355:112: q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
	questionnaireInfo, targets, targetUsers, targetGroups, admins, adminUsers, adminGroups, respondents, err := q.GetQuestionnaireInfo(c.Request().Context(), questionnaireID)
	                                                                                                              ^

Check failure on line 369 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L369

q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
Raw output
controller/questionnaire.go:369:112: q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
	questionnaireInfo, targets, targetUsers, targetGroups, admins, adminUsers, adminGroups, respondents, err := q.GetQuestionnaireInfo(ctx.Request().Context(), questionnaireID)
	                                                                                                              ^

Check failure on line 405 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L405

q.DeleteTargets undefined (type Questionnaire has no field or method DeleteTargets) (typecheck)
Raw output
controller/questionnaire.go:405:12: q.DeleteTargets undefined (type Questionnaire has no field or method DeleteTargets) (typecheck)
			err = q.DeleteTargets(ctx, questionnaireID)
			        ^

Check failure on line 410 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L410

q.DeleteTargetGroups undefined (type Questionnaire has no field or method DeleteTargetGroups) (typecheck)
Raw output
controller/questionnaire.go:410:12: q.DeleteTargetGroups undefined (type Questionnaire has no field or method DeleteTargetGroups) (typecheck)
			err = q.DeleteTargetGroups(ctx, questionnaireID)
			        ^

Check failure on line 420 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L420

q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
Raw output
controller/questionnaire.go:420:12: q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
			err = q.InsertTargets(ctx, questionnaireID, allTargetUsers)
			        ^

Check failure on line 425 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L425

q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
Raw output
controller/questionnaire.go:425:12: q.InsertTargetUsers undefined (type Questionnaire has no field or method InsertTargetUsers) (typecheck)
			err = q.InsertTargetUsers(ctx, questionnaireID, params.Target.Users)
			        ^

Check failure on line 430 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L430

q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
Raw output
controller/questionnaire.go:430:12: q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
			err = q.InsertTargetGroups(ctx, questionnaireID, params.Target.Groups)
			        ^

Check failure on line 437 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L437

q.DeleteAdministrators undefined (type Questionnaire has no field or method DeleteAdministrators) (typecheck)
Raw output
controller/questionnaire.go:437:12: q.DeleteAdministrators undefined (type Questionnaire has no field or method DeleteAdministrators) (typecheck)
			err = q.DeleteAdministrators(ctx, questionnaireID)
			        ^

Check failure on line 442 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L442

q.DeleteAdministratorGroups undefined (type Questionnaire has no field or method DeleteAdministratorGroups) (typecheck)
Raw output
controller/questionnaire.go:442:12: q.DeleteAdministratorGroups undefined (type Questionnaire has no field or method DeleteAdministratorGroups) (typecheck)
			err = q.DeleteAdministratorGroups(ctx, questionnaireID)
			        ^

Check failure on line 452 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L452

q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
Raw output
controller/questionnaire.go:452:12: q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
			err = q.InsertAdministrators(ctx, questionnaireID, allAdminUsers)
			        ^

Check failure on line 457 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L457

q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
Raw output
controller/questionnaire.go:457:12: q.InsertAdministratorUsers undefined (type Questionnaire has no field or method InsertAdministratorUsers) (typecheck)
			err = q.InsertAdministratorUsers(ctx, questionnaireID, params.Admin.Users)
			        ^

Check failure on line 462 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L462

q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
Raw output
controller/questionnaire.go:462:12: q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
			err = q.InsertAdministratorGroups(ctx, questionnaireID, params.Admin.Groups)
			        ^

Check failure on line 690 in controller/questionnaire.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/questionnaire.go#L690

q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
Raw output
controller/questionnaire.go:690:48: q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
		questionnaire, _, _, _, _, _, _, _, err := q.GetQuestionnaireInfo(c.Request().Context(), questionnaireID)
		                                             ^