Kevin Wan
7822a4c1cb
chore: refactor mapping errors ( #3843 )
2024-01-13 22:11:19 +08:00
Kevin Wan
abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go ( #3607 )
2023-10-09 21:57:26 +08:00
Kevin Wan
5aedd9c076
chore: simplify parsing numbers with overflow ( #3610 )
2023-10-09 13:00:09 +00:00
Kevin Wan
0ee7a271d3
fix: avoid float overflow in mapping.Unmarshal ( #3590 )
2023-09-26 13:46:34 +00:00
Kevin Wan
ded2888759
fix: avoid integer overflow in mapping.Unmarshal ( #3582 )
2023-09-21 14:22:33 +00:00
Kevin Wan
c3f57e9b0a
chore: fix potential nil pointer errors ( #3454 )
2023-07-30 21:37:41 +08:00
Kevin Wan
ff04356704
fix: format error should not trigger circuit breaker in sqlx ( #3437 )
2023-07-23 20:40:03 +08:00
Kevin Wan
6b4d0d89c0
chore: add more tests ( #3324 )
2023-06-07 00:46:43 +08:00
Kevin Wan
7568674b2b
chore: use %q instead of %s for unmarshaling ( #3163 )
2023-04-24 12:11:12 +08:00
kevin
a972f400c6
fix: test failure
2023-03-07 01:27:41 +00:00
Kevin Wan
ae87114282
chore: change interface{} to any ( #2818 )
...
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
2023-01-24 16:32:02 +08:00
Kevin Wan
367afb544c
feat: support ptr of ptr of ... in mapping ( #2779 )
...
* feat: support ptr of ptr of ... in mapping
* feat: support ptr of ptr of time.Duration in mapping
* feat: support ptr of ptr of json.Number in mapping
* chore: improve setting in mapping
* feat: support ptr of ptr encoding.TextUnmarshaler in mapping
* chore: add more tests
* fix: string ptr
* chore: update tests
2023-01-12 15:56:51 +08:00
Kevin Wan
f76b976262
fix : #2684 ( #2693 )
2022-12-13 00:16:31 +08:00
Kevin Wan
fdc57d07d7
fix : #2672 ( #2681 )
...
* fix : #2672
* chore: fix more cases
* chore: update deps
* chore: update deps
* chore: refactor
* chore: refactor
* chore: refactor
2022-12-11 00:41:50 +08:00
Kevin Wan
69068cdaf0
feat: support env tag in config ( #2577 )
...
* feat: support env tag in config
* chore: add more tests
* chore: add more tests, add stringx.Join
* fix: test fail
* chore: remove print code
* chore: rename variable
2022-11-11 23:17:09 +08:00
Kevin Wan
1677a4dceb
feat: conf inherit ( #2568 )
...
* feat: add ValuerWithParent
* feat: make etcd config inherit from parents
* chore: add more tests
* chore: add more tests
* chore: add more comments
* chore: refactor
* chore: add more comments
* fix: fix duplicated code and refactor
* fix: remove unnecessary code
* fix: fix test case for removing print
* feat: support partial inherit
2022-11-08 15:27:48 +08:00
Kevin Wan
a1466e1707
fix: range validation on mapping ( #2317 )
2022-08-28 17:49:26 +08:00
lowang-bh
1b477bbef9
improve: number range compare left and righ value ( #2315 )
...
Co-authored-by: wanglonghui7 <wanglonghui7@jd.com>
2022-08-28 17:17:22 +08:00
Kevin Wan
18035bd4d4
chore: refactor ( #2085 )
2022-07-02 00:15:38 +08:00
家福
f3b8fef34f
fix: type matching supports string to int ( #2038 )
...
* fix: type matching supports string to int
* feat: type matching supports string to int
Co-authored-by: 程家福 <chengjiafu@uniontech.com>
2022-07-01 23:21:31 +08:00
Kevin Wan
1d95e95cf8
chore: make methods consistent in signatures ( #1971 )
...
* chore: make methods consistent in signatures
* test: fix fails
2022-06-05 12:56:13 +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
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
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
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kevin
7e3a369a8f
initial import
2020-07-26 17:09:05 +08:00