Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapiベースに変更 #1221

Draft
wants to merge 102 commits into
base: main
Choose a base branch
from

Merge pull request #1286 from traPtitech/fix/openapi-insert_questions…

95ebb76
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

openapiベースに変更 #1221

Merge pull request #1286 from traPtitech/fix/openapi-insert_questions…
95ebb76
Select commit
Loading
Failed to load commit list.
GitHub Actions / golangci failed Dec 19, 2024 in 0s

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