Commit Graph

69 Commits (76c92b571d09c46f18b7f7ad9c691277c0620957)

Author SHA1 Message Date
aimuz 70e51bb352
fix: empty slice are set to nil (#1702)
support for empty slce, Same behavior as json.Unmarshal
3 years ago
Kevin Wan fdc7f64d6f
chore: update unauthorized callback calling order (#1469)
* chore: update unauthorized callback calling order

* chore: add comments
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 23deaf50e6
feat: support array in default and options tags (#1386)
* feat: support array in default and options tags

* feat: ignore spaces in tags

* test: add more tests
3 years ago
Kevin Wan a7a6753118
fixes #1257 (#1271)
* fixes #1257

* chore: format code

* test: add more tests
3 years ago
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 e024aebb66
fix golint issues (#899) 3 years ago
Kevin Wan 54d57c7d4b
refactor rest code (#895) 3 years ago
voidint 28a7c9d38f
fix http header binding failure bug #885 (#887) 3 years ago
Kevin Wan 9ccb997ed8
refactor mapping (#782) 3 years ago
skykiss 01c92a6bc5
fix: Fix problems with non support for multidimensional arrays and basic type pointer arrays (#778)
Co-authored-by: shaoqian <shaoqian.zhang@appshahe.com>
3 years ago
Kevin Wan 334ee4213f
fix golint issues in core/mapping (#497) 4 years ago
Kevin Wan 38abfb80ed
fix gocyclo warnings (#468) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
kevin e5d7c3ab04 unmarshal should be struct 4 years ago
kevin 92e60a5777 use options instead of opts in error message 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago