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 111 commits into
base: main
Choose a base branch
from

Merge pull request #1278 from traPtitech/fix/openapi-duplicate_response

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

openapiベースに変更 #1221

Merge pull request #1278 from traPtitech/fix/openapi-duplicate_response
1d982df
Select commit
Loading
Failed to load commit list.
GitHub Actions / golangci failed Jan 6, 2025 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (9)

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)

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"
	^