開発環境にAdminerを導入 #843
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (29)
src/repository/mock/db.go|13 col 6| exported: type name will be used as mock.MockDB by other packages, and that stutters; consider calling this DB (revive)
src/repository/mock/db.go|19 col 6| exported: type name will be used as mock.MockDBMockRecorder by other packages, and that stutters; consider calling this DBMockRecorder (revive)
src/repository/mock/db.go|55 col 51| unused-parameter: parameter 'txOpt' seems to be unused, consider removing or renaming it as _ (revive)
src/service/v1/oidc.go|36 col 26| unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
src/service/v1/oidc.go|70 col 25| unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
src/storage/local/game_file.go|37 col 34| unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/v2_game_version.go|89 col 2| unused-parameter: parameter 'lockType' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/v2_game_version.go|168 col 2| unused-parameter: parameter 'lockType' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/edition.go|129 col 52| unused-parameter: parameter 'lockType' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/edition.go|309 col 70| unused-parameter: parameter 'editionID' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/edition.go|340 col 71| unused-parameter: parameter 'editionID' seems to be unused, consider removing or renaming it as _ (revive)
src/repository/gorm2/edition.go|370 col 71| unused-parameter: parameter 'editionID' seems to be unused, consider removing or renaming it as _ (revive)
src/handler/v2/checker.go|82 col 68| unused-parameter: parameter 'ai' seems to be unused, consider removing or renaming it as _ (revive)
src/handler/v2/checker.go|131 col 63| unused-parameter: parameter 'ai' seems to be unused, consider removing or renaming it as _ (revive)
src/handler/v2/checker.go|168 col 67| unused-parameter: parameter 'ai' seems to be unused, consider removing or renaming it as _ (revive)
pkg/types/option.go|7 col 2| valid
is unused (structcheck)
pkg/types/option.go|8 col 2| value
is unused (structcheck)
src/service/v2/game_file_test.go|637 col 3| environment
is unused (structcheck)
src/service/v2/game_file_test.go|43 col 3| executeStorageSaveGameFile
is unused (structcheck)
src/service/v2/game_file_test.go|227 col 3| environment
is unused (structcheck)
src/service/v2/game_file_test.go|466 col 3| environment
is unused (structcheck)
src/handler/v2/game_test.go|1407 col 3| gameID
is unused (structcheck)
src/storage/s3/client_test.go|145 col 3| contentType
is unused (structcheck)
src/storage/s3/client_test.go|146 col 3| hash
is unused (structcheck)
src/repository/gorm2/migrate/v5.go|76 col 6| type editionTableV5
is unused (unused)
src/repository/gorm2/migrate/v5.go|86 col 24| func (*editionTableV5).TableName
is unused (unused)
src/service/v2/edition_test.go|226 col 7| loopclosure: loop variable testCase captured by func literal (govet)
src/service/v2/edition_test.go|229 col 32| loopclosure: loop variable testCase captured by func literal (govet)
src/service/v2/edition_test.go|230 col 13| loopclosure: loop variable testCase captured by func literal (govet)