Skip to content

PR #1221

PR #1221 #69

GitHub Actions / golangci failed Dec 17, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (12)

controller/adapter.go|1| : # github.com/traPtitech/anke-to/controller
controller/adapter.go|91 col 21| cannot use question.ID (variable of type int) as *int value in struct literal
controller/adapter.go|93 col 4| unknown field Title in struct literal of type openapi.Question (typecheck)
handler/handler.go|3 col 8| could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
controller/adapter.go|91 col 21| cannot use question.ID (variable of type int) as *int value in struct literal
controller/adapter.go|93 col 4| unknown field Title in struct literal of type openapi.Question) (typecheck)
main.go|13 col 2| could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
controller/adapter.go|91 col 21| cannot use question.ID (variable of type int) as *int value in struct literal
controller/adapter.go|93 col 4| unknown field Title in struct literal of type openapi.Question) (typecheck)
model/administratorGroups.go|1| : # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
model/questionnaires_test.go|1469 col 39| declared and not used: actualTargetGroups
model/questionnaires_test.go|1469 col 81| declared and not used: actualAdministratorGroups (typecheck)

Filtered Findings (0)

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 91 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L91

cannot use question.ID (variable of type int) as *int value in struct literal
Raw output
controller/adapter.go:91:21: cannot use question.ID (variable of type int) as *int value in struct literal

Check failure on line 93 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L93

unknown field Title in struct literal of type openapi.Question (typecheck)
Raw output
controller/adapter.go:93:4: unknown field Title in struct literal of type openapi.Question (typecheck)
package controller

Check failure on line 3 in handler/handler.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] handler/handler.go#L3

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

Check failure on line 91 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L91

cannot use question.ID (variable of type int) as *int value in struct literal
Raw output
controller/adapter.go:91:21: cannot use question.ID (variable of type int) as *int value in struct literal

Check failure on line 93 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L93

unknown field Title in struct literal of type openapi.Question) (typecheck)
Raw output
controller/adapter.go:93:4: unknown field Title in struct literal of type openapi.Question) (typecheck)
import "github.com/traPtitech/anke-to/controller"
       ^

Check failure on line 13 in main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] main.go#L13

could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Raw output
main.go:13:2: could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller

Check failure on line 91 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L91

cannot use question.ID (variable of type int) as *int value in struct literal
Raw output
controller/adapter.go:91:21: cannot use question.ID (variable of type int) as *int value in struct literal

Check failure on line 93 in controller/adapter.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] controller/adapter.go#L93

unknown field Title in struct literal of type openapi.Question) (typecheck)
Raw output
controller/adapter.go:93:4: unknown field Title in struct literal of type openapi.Question) (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 1469 in model/questionnaires_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] model/questionnaires_test.go#L1469

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

Check failure on line 1469 in model/questionnaires_test.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] model/questionnaires_test.go#L1469

declared and not used: actualAdministratorGroups (typecheck)
Raw output
model/questionnaires_test.go:1469:81: declared and not used: actualAdministratorGroups (typecheck)
package model