Skip to content

fix(deps): update module github.com/xsam/otelsql to v0.36.0 #2769

fix(deps): update module github.com/xsam/otelsql to v0.36.0

fix(deps): update module github.com/xsam/otelsql to v0.36.0 #2769

GitHub Actions / golangci completed Dec 19, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (6)

backend/pkg/pgtest/pgtest.go|88| pkg/pgtest/pgtest.go:88: Line contains TODO/BUG/FIXME: "TODO: startContainer を使って DB を起動し,tb.Cle..." (godox)
backend/scoreserver/domain/team.go|12 col 2| the methods of "Team" use pointer receiver and non-pointer receiver. (recvcheck)
backend/cmd/scoreserver/main.go|30| Function 'start' is too long (62 > 60) (funlen)
backend/cmd/scoreserver/otel.go|120 col 13| string otlp has 4 occurrences, make it a constant (goconst)
backend/cmd/scoreserver/main.go|18 col 2| var flagContestantHTTPAddr is unused (unused)
backend/cmd/scoreserver/main.go|20 col 2| var flagTelemetryAddr is unused (unused)

Filtered Findings (0)

Annotations

Check failure on line 88 in backend/pkg/pgtest/pgtest.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/pkg/pgtest/pgtest.go#L88

pkg/pgtest/pgtest.go:88: Line contains TODO/BUG/FIXME: "TODO: startContainer を使って DB を起動し,tb.Cle..." (godox)
Raw output
pkg/pgtest/pgtest.go:88: pkg/pgtest/pgtest.go:88: Line contains TODO/BUG/FIXME: "TODO: startContainer を使って DB を起動し,tb.Cle..." (godox)
	// TODO: startContainer を使って DB を起動し,tb.Cleanup で停止する

Check failure on line 12 in backend/scoreserver/domain/team.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/scoreserver/domain/team.go#L12

the methods of "Team" use pointer receiver and non-pointer receiver. (recvcheck)
Raw output
scoreserver/domain/team.go:12:2: the methods of "Team" use pointer receiver and non-pointer receiver. (recvcheck)
	Team     struct {
	^

Check failure on line 30 in backend/cmd/scoreserver/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/cmd/scoreserver/main.go#L30

Function 'start' is too long (62 > 60) (funlen)
Raw output
cmd/scoreserver/main.go:30: Function 'start' is too long (62 > 60) (funlen)
func start() int {

Check failure on line 120 in backend/cmd/scoreserver/otel.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/cmd/scoreserver/otel.go#L120

string `otlp` has 4 occurrences, make it a constant (goconst)
Raw output
cmd/scoreserver/otel.go:120:13: string `otlp` has 4 occurrences, make it a constant (goconst)
	expType := "otlp"
	           ^

Check failure on line 18 in backend/cmd/scoreserver/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/cmd/scoreserver/main.go#L18

var `flagContestantHTTPAddr` is unused (unused)
Raw output
cmd/scoreserver/main.go:18:2: var `flagContestantHTTPAddr` is unused (unused)
	flagContestantHTTPAddr = flag.String("contestant-http-addr", "0.0.0.0:8080", "Contestant API HTTP Address")
	^

Check failure on line 20 in backend/cmd/scoreserver/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] backend/cmd/scoreserver/main.go#L20

var `flagTelemetryAddr` is unused (unused)
Raw output
cmd/scoreserver/main.go:20:2: var `flagTelemetryAddr` is unused (unused)
	flagTelemetryAddr      = flag.String("telemetry-addr", "0.0.0.0:9090", "Telemetry HTTP Address")
	^