Kevin Wan
50de01fb49
feat: add httpc.Do & httpc.Service.Do ( #1775 )
...
* backup
* backup
* backup
* feat: add httpc.Do & httpc.Service.Do
* fix: not using strings.Cut, it's from Go 1.18
* chore: remove redudant code
* feat: httpc.Do finished
* chore: fix reviewdog
* chore: break loop if found
* add more tests
2022-04-11 11:00:28 +08:00
Kevin Wan
e9620c8c05
chore: refactor code ( #1708 )
2022-03-24 22:10:15 +08:00
aimuz
70e51bb352
fix: empty slice are set to nil ( #1702 )
...
support for empty slce, Same behavior as json.Unmarshal
2022-03-24 21:41:38 +08:00
Kevin Wan
fdc7f64d6f
chore: update unauthorized callback calling order ( #1469 )
...
* chore: update unauthorized callback calling order
* chore: add comments
2022-01-20 21:09:45 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
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
2021-12-29 17:37:36 +08:00
Kevin Wan
a7a6753118
fixes #1257 ( #1271 )
...
* fixes #1257
* chore: format code
* test: add more tests
2021-11-25 10:26:16 +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
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
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