HM24 (DO NOT MERGE) #663
Annotations
10 errors and 1 warning
backend/pkg/sqlitegen/queries_test.go#L4
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)
|
backend/pkg/sqlitegen/schema_test.go#L5
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)
|
backend/pkg/posstrings/posstrings.go#L20
exported: exported type PositionSource should have comment or be unexported (revive)
|
backend/pkg/posstrings/posstrings.go#L27
exported: exported function NewPositionSource should have comment or be unexported (revive)
|
backend/pkg/posstrings/posstrings.go#L46
exported: exported method PositionSource.MustCreateBetween should have comment or be unexported (revive)
|
backend/pkg/posstrings/posstrings.go#L54
exported: exported method PositionSource.CreateBetween should have comment or be unexported (revive)
|
backend/pkg/posstrings/posstrings.go#L222
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
backend/pkg/sqlitegen/example/schema/schema.go#L1
package-comments: should have a package comment (revive)
|
backend/pkg/sqlitegen/example/schema/schema.go#L4
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)
|
backend/pkg/sqlitegen/example/queries.go#L56
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
|
This job failed
Loading