Commit Graph

10 Commits (a7bd993c0c3841a2e0143bc8ff1035f763896d4d)

Author SHA1 Message Date
Kevin Wan 69935c1ba3
refactor goctl, fix golint issues (#903) 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 05e37ee20f
refactor - remove ShrinkDeadline, it's the same as context.WithTimeout (#599) 4 years ago
Oraoto 425430f67c
Simplify contextx.ShrinkDeadline (#596) 4 years ago
Kevin Wan f6894448bd
fix golint issues in core/contextx (#477) 4 years ago
kevin fe3739b7f3 fix golint issues 4 years ago
kevin 94645481b1 fix golint issues 4 years ago
Klaus 4bdf5e4c90 chore: fix typo 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago