Commit Graph

29 Commits (5b35fa17de22f9f39c7905e4fd661b11017089fd)

Author SHA1 Message Date
Kevin Wan fbf2eebc42
add Errorv/Infov/Slowv (#909) 3 years ago
Kevin Wan 1fb356f328
refactor goctl (#902) 3 years ago
市民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
3 years ago
Kevin Wan 872e75e10d
add logx.DisableStat() to disable stat logs (#893)
* add logx.DisableStat() to disable stat logs

* refactor logx code
3 years ago
Bo-Yi Wu 73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
Kevin Wan c0db8d017d
gofmt logs (#574) 4 years ago
TonyWang 52b4f8ca91
add timezone and timeformat (#572)
* add timezone and timeformat

* rm time zone and keep time format

Co-authored-by: Tony Wang <tonywang.data@gmail.com>
4 years ago
Kevin Wan 56ad4776d4
fix misspelling (#513) 4 years ago
Kevin Wan 226513ed60
fix golint issues in core/logx (#496) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
wayne ec2a9f2c57
fix tracelogger_test TestTraceLog (#271) 4 years ago
kevin 695ea69bfc add logx.Alert 4 years ago
kevin fe3739b7f3 fix golint issues 4 years ago
kevin c32759d735 make tests race-free 4 years ago
kevin be39133dba fix data race in tests 4 years ago
kevin 3733b06f1b fix data race in tests 4 years ago
kevin 09b7625f06 add more tests 4 years ago
kevin 6db294b5cc add more tests 4 years ago
kevin ce42281568 add more tests 4 years ago
kevin 40230d79e7 fix data race 4 years ago
kevin ba7851795b add more tests 4 years ago
kevin be9c48da7f add tracing logs in server side and client side 4 years ago
kevin 797a90ae7d remove unnecessary tag 4 years ago
kevin f3c367a323 add fatal to stderr 4 years ago
kevin 8745039877 move lang.Must into logx.Must to make sure output fatal message as json 4 years ago
kevin c57051ce63 use strings.Contains instead of strings.Index 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago