Build dynamic statements #288
Annotations
10 errors and 1 warning
go:
database/testutils.go#L58
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
go:
database/query_builder_test.go#L297
S1040: type assertion to the same type: data.Select already has type SelectStatement (gosimple)
|
go:
database/example_upsert_test.go#L54
tests: ExampleUpsertStreamedWithStatement refers to unknown identifier: UpsertStreamedWithStatement (govet)
|
go:
database/example_upsert_test.go#L98
tests: ExampleUpsertStreamedWithOnUpsert refers to unknown identifier: UpsertStreamedWithOnUpsert (govet)
|
go:
database/example_upsert_test.go#L146
tests: ExampleNamedBulkUpsert refers to unknown identifier: NamedBulkUpsert (govet)
|
go:
database/example_upsert_test.go#L195
tests: ExampleNamedBulkUpsertWithOnUpsert refers to unknown identifier: NamedBulkUpsertWithOnUpsert (govet)
|
go:
database/example_upsert_test.go#L249
tests: ExampleNamedExecUpsert refers to unknown identifier: NamedExecUpsert (govet)
|
go:
database/example_upsert_test.go#L287
tests: ExampleExecUpsert refers to unknown identifier: ExecUpsert (govet)
|
go:
database/testutils.go#L32
SA4005: ineffective assignment to field User.Id (staticcheck)
|
go
issues found
|
go
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|