go-zero/core/logx
市民233 0b0406f41a
fix: 解决golint 部分警告 (#897)
* feat:  解决goreportcard的警报
ps: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

* feat: 优化golint警告,将processFieldPrimitiveWithJsonNumber 改成 processFieldPrimitiveWithJSONNumber
unmarshaler.go:248:23: method processFieldPrimitiveWithJsonNumber should be processFieldPrimitiveWithJSONNumber

* feat: 添加 WithCanonicalKeyFunc 注释

* feat: 添加DisableStat的注释

* feat: 添加 RegisterGoctlHome 注释

* feat: 添加 PostgreSqlJoin 注释

* feat: 解决goline警告should not use basic type string as key in context.WithValue问题

* feat: 解决golint警告信息: should not use basic type string as key in context.WithValue

* fix: 定义自定义字段类型,导致go test fail 问题

* update: 恢复原有测试用例

* fix golint warning
2021-08-11 17:57:20 +08:00
..
config.go add timezone and timeformat (#572) 2021-03-20 16:36:19 +08:00
durationlogger_test.go add tracing logs in server side and client side 2020-09-22 17:34:39 +08:00
durationlogger.go add logx.DisableStat() to disable stat logs (#893) 2021-08-10 16:55:38 +08:00
lesslogger_test.go initial import 2020-07-26 17:09:05 +08:00
lesslogger.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
lesswriter_test.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
lesswriter.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
limitedexecutor.go update package reference 2020-08-08 16:40:10 +08:00
logs_test.go add logx.DisableStat() to disable stat logs (#893) 2021-08-10 16:55:38 +08:00
logs.go fix: 解决golint 部分警告 (#897) 2021-08-11 17:57:20 +08:00
rotatelogger_test.go add more tests 2020-10-01 16:49:39 +08:00
rotatelogger.go chore: update code format. (#628) 2021-04-15 19:49:17 +08:00
syslog_test.go fix golint issues 2020-10-16 11:13:55 +08:00
syslog.go initial import 2020-07-26 17:09:05 +08:00
tracelogger_test.go chore(format): change by gofumpt tool (#697) 2021-05-18 14:43:09 +08:00
tracelogger.go add logx.DisableStat() to disable stat logs (#893) 2021-08-10 16:55:38 +08:00