Skip to content

add: 予選モードの追加 #24

add: 予選モードの追加

add: 予選モードの追加 #24

GitHub Actions / golangci succeeded Nov 16, 2023 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (11)

pkg/service/answer.go|1| : # github.com/ictsc/ictsc-rikka/pkg/service [github.com/ictsc/ictsc-rikka/pkg/service.test]
pkg/service/answer_test.go|322 col 5| not enough arguments in call to NewAnswerService
pkg/service/problem_test.go|140 col 5| not enough arguments in call to NewProblemService
pkg/service/ranking_test.go|246 col 57| not enough arguments in call to NewRankingService
pkg/delivery/http/middleware/auth.go|19 col 13| Error return value of ctx.Error is not checked (errcheck)
pkg/delivery/http/middleware/auth.go|26 col 13| Error return value of ctx.Error is not checked (errcheck)
pkg/delivery/http/middleware/auth.go|33 col 13| Error return value of ctx.Error is not checked (errcheck)
pkg/delivery/http/handler/attachment.go|70 col 9| Error return value of io.Copy is not checked (errcheck)
cmd/rikka/main.go|69 col 16| Error return value of db.AutoMigrate is not checked (errcheck)
cmd/rikka/main.go|180 col 11| Error return value of seed.Seed is not checked (errcheck)
pkg/controller/recreate.go|6 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)