Skip to content

🎨 Apply gofmt

🎨 Apply gofmt #1331

Triggered via push June 28, 2024 10:57
Status Failure
Total duration 1m 52s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: testutil/random/ramdom.go#L17
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, [crypto/rand.Read] is more appropriate. (staticcheck)
Lint: model/request_impl.go#L130
Error return value of `tx.Rollback` is not checked (errcheck)
Lint: model/request_impl.go#L266
Error return value of `tx.Rollback` is not checked (errcheck)
Lint: model/transaction_detail_impl_test.go#L27
Error return value of `tx.Rollback` is not checked (errcheck)
Lint: model/group_budget_impl.go#L5
func `convertEntGroupBudgetToModelGroupBudget` is unused (unused)
Lint: main.go#L50
Error return value of `logger.Sync` is not checked (errcheck)
Lint: router/file_test.go#L48
Error return value of `writer.WriteField` is not checked (errcheck)
Lint: router/file_test.go#L49
Error return value of `writer.WriteField` is not checked (errcheck)
Lint: router/file_test.go#L116
Error return value of `writer.WriteField` is not checked (errcheck)
Lint: service/webhook.go#L150
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)