openapiベースに変更 #1221
openapiベースに変更 #1221
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
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
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
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
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
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
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
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
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
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"
^