Skip to content

feat: database/sql integration #1454

feat: database/sql integration

feat: database/sql integration #1454

Triggered via pull request October 18, 2024 10:46
Status Failure
Total duration 45s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: sentrysql/options.go#L3
exported: type name will be used as sentrysql.SentrySQLOption by other packages, and that stutters; consider calling this Option (revive)
Lint: sentrysql/sentrysql.go#L39
var-naming: func NewSentrySqlConnector should be NewSentrySQLConnector (revive)
Lint: sentrysql/sentrysql_test.go#L12
tests: ExampleNewSentrySql refers to unknown identifier: NewSentrySql (govet)
Lint: sentrysql/conn.go#L55
SA1019: s.originalConn.Begin has been deprecated since Go 1.8: Drivers should implement ConnBeginTx instead (or additionally). (staticcheck)
Lint: sentrysql/conn.go#L81
SA1019: driver.Queryer has been deprecated since Go 1.8: Drivers should implement [QueryerContext] instead. (staticcheck)
Lint: sentrysql/conn.go#L155
SA1019: driver.Execer has been deprecated since Go 1.8: Drivers should implement [ExecerContext] instead. (staticcheck)
Lint: sentrysql/stmt.go#L28
SA1019: s.originalStmt.Exec has been deprecated since Go 1.8: Drivers should implement StmtExecContext instead (or additionally). (staticcheck)
Lint: sentrysql/stmt.go#L45
SA1019: s.originalStmt.Exec has been deprecated since Go 1.8: Drivers should implement StmtExecContext instead (or additionally). (staticcheck)
Lint: sentrysql/stmt.go#L61
SA1019: s.originalStmt.Query has been deprecated since Go 1.8: Drivers should implement StmtQueryContext instead (or additionally). (staticcheck)
Lint: sentrysql/stmt.go#L78
SA1019: s.originalStmt.Query has been deprecated since Go 1.8: Drivers should implement StmtQueryContext instead (or additionally). (staticcheck)
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/sentry-go/sentry-go. Supported file pattern: go.sum