Add user access token creation and deletion endpoints #1
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (3)
backend/pkg/test/containers/postgres/main.go|61 col 2| commentFormatting: put a space between //
and comment text (gocritic)
backend/pkg/test/containers/postgres/main.go|35 col 20| SA1019: postgres2.RunContainer is deprecated: use Run instead RunContainer creates an instance of the Postgres container type (staticcheck)
backend/pkg/test/containers/postgres/main.go|37 col 3| SA1019: testcontainers.WithImage is deprecated: the modules API forces passing the image as part of the signature of the Run function. WithImage sets the image for a container (staticcheck)
Filtered Findings (0)
Annotations
Check failure on line 61 in backend/pkg/test/containers/postgres/main.go
github-actions / golangci
[golangci] backend/pkg/test/containers/postgres/main.go#L61
commentFormatting: put a space between `//` and comment text (gocritic)
Raw output
pkg/test/containers/postgres/main.go:61:2: commentFormatting: put a space between `//` and comment text (gocritic)
//if testconfig.Debug() {
^
Check failure on line 35 in backend/pkg/test/containers/postgres/main.go
github-actions / golangci
[golangci] backend/pkg/test/containers/postgres/main.go#L35
SA1019: postgres2.RunContainer is deprecated: use Run instead RunContainer creates an instance of the Postgres container type (staticcheck)
Raw output
pkg/test/containers/postgres/main.go:35:20: SA1019: postgres2.RunContainer is deprecated: use Run instead RunContainer creates an instance of the Postgres container type (staticcheck)
container, err := postgres2.RunContainer(
^
Check failure on line 37 in backend/pkg/test/containers/postgres/main.go
github-actions / golangci
[golangci] backend/pkg/test/containers/postgres/main.go#L37
SA1019: testcontainers.WithImage is deprecated: the modules API forces passing the image as part of the signature of the Run function. WithImage sets the image for a container (staticcheck)
Raw output
pkg/test/containers/postgres/main.go:37:3: SA1019: testcontainers.WithImage is deprecated: the modules API forces passing the image as part of the signature of the Run function. WithImage sets the image for a container (staticcheck)
testcontainers.WithImage("postgres:16-alpine"),
^