Commit Graph

20 Commits

Author SHA1 Message Date
Kevin Wan 265b1f2459 test: add more tests (#1138) 2021-10-15 16:27:30 +08:00
Kevin Wan 69935c1ba3 refactor goctl, fix golint issues (#903) 2021-08-11 18:08:01 +08:00
市民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
Kevin Wan e024aebb66 fix golint issues (#899) 2021-08-11 11:38:55 +08:00
Kevin Wan 54d57c7d4b refactor rest code (#895) 2021-08-10 17:59:33 +08:00
voidint 28a7c9d38f fix http header binding failure bug #885 (#887) 2021-08-10 17:38:03 +08:00
Kevin Wan 9ccb997ed8 refactor mapping (#782) 2021-06-23 14:57:37 +08:00
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>
2021-06-23 10:58:01 +08:00
Bo-Yi Wu 73906f996d chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-05-18 14:43:09 +08:00
Bo-Yi Wu afd9ff889e chore: update code format. (#628) 2021-04-15 19:49:17 +08:00
Kevin Wan bbb4ce586f fix golint issues (#584) 2021-03-28 20:42:11 +08:00
Kevin Wan 334ee4213f fix golint issues in core/mapping (#497) 2021-02-20 23:18:22 +08:00
Kevin Wan 38abfb80ed fix gocyclo warnings (#468) 2021-02-17 14:01:05 +08:00
Kevin Wan 5e969cbef0 fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
Kevin Wan c435811479 fix gocyclo warnings (#278) 2020-12-11 20:57:48 +08:00
kevin 33a9db85c8 add unit test, fix interceptor bug 2020-09-29 14:30:22 +08:00
kevin e5d7c3ab04 unmarshal should be struct 2020-09-28 15:19:30 +08:00
kevin 92e60a5777 use options instead of opts in error message 2020-09-21 22:37:07 +08:00
kevin 0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kevin 7e3a369a8f initial import 2020-07-26 17:09:05 +08:00