Skip to content

fix new log error

fix new log error #17

Triggered via push April 11, 2023 08:08
Status Success
Total duration 5m 13s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test on go 1.18 and ubuntu-latest: encoder.go#L11
comment on exported function FuncName should be of the form "FuncName ..."
Test on go 1.18 and ubuntu-latest: encoder.go#L23
comment on exported function CallerEncoder should be of the form "CallerEncoder ..."
Test on go 1.18 and ubuntu-latest: encoder.go#L37
comment on exported function TimeEncoder should be of the form "TimeEncoder ..."
Test on go 1.18 and ubuntu-latest: lumberjack_sink.go#L44
comment on exported function NewLumberjackSink should be of the form "NewLumberjackSink ..."
Test on go 1.18 and ubuntu-latest: gorm.go#L22
exported type GormLoggerOptions should have comment or be unexported
Test on go 1.18 and ubuntu-latest: context.go#L24
comment on exported function CtxLogger should be of the form "CtxLogger ..."
Test on go 1.18 and ubuntu-latest: redis.go#L116
parameter 'cmd' seems to be unused, consider removing or renaming it as _
Test on go 1.18 and ubuntu-latest: global.go#L135
comment on exported function For should be of the form "For ..."
Test on go 1.18 and ubuntu-latest: gin.go#L51
comment on exported function GetGinTraceIDFromHeader should be of the form "GetGinTraceIDFromHeader ..."
Test on go 1.18 and ubuntu-latest: context.go#L84
comment on exported function NewCtxLogger should be of the form "NewCtxLogger ..."