Skip to content

customize the time param format in SQL log #1118

customize the time param format in SQL log

customize the time param format in SQL log #1118

Triggered via pull request August 5, 2023 15:10
Status Success
Total duration 1m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

reviewdog.yml

on: pull_request
runner / golangci-lint
51s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

1 error
runner / golangci-lint: logger/sql.go#L16
[gofumpt] reported by reviewdog 🐶 Raw Output: logger/sql.go:16:-var ( logger/sql.go:17:- // TimeParamFormat defines the format of the time parameter in ExpalianSQL. logger/sql.go:18:- TimeParamFormat = "2006-01-02 15:04:05.999" logger/sql.go:19:-) logger/sql.go:16:+// TimeParamFormat defines the format of the time parameter in ExpalianSQL. logger/sql.go:17:+var TimeParamFormat = "2006-01-02 15:04:05.999"