Kevin Wan
7822a4c1cb
chore: refactor mapping errors ( #3843 )
11 months ago
Kevin Wan
abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go ( #3607 )
1 year ago
Kevin Wan
5aedd9c076
chore: simplify parsing numbers with overflow ( #3610 )
1 year ago
Kevin Wan
0ee7a271d3
fix: avoid float overflow in mapping.Unmarshal ( #3590 )
1 year ago
Kevin Wan
ded2888759
fix: avoid integer overflow in mapping.Unmarshal ( #3582 )
1 year ago
Kevin Wan
c3f57e9b0a
chore: fix potential nil pointer errors ( #3454 )
1 year ago
Kevin Wan
ff04356704
fix: format error should not trigger circuit breaker in sqlx ( #3437 )
1 year ago
Kevin Wan
6b4d0d89c0
chore: add more tests ( #3324 )
2 years ago
Kevin Wan
7568674b2b
chore: use %q instead of %s for unmarshaling ( #3163 )
2 years ago
kevin
a972f400c6
fix: test failure
2 years ago
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
2 years ago
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
2 years ago
Kevin Wan
f76b976262
fix : #2684 ( #2693 )
2 years ago
Kevin Wan
fdc57d07d7
fix : #2672 ( #2681 )
...
* fix : #2672
* chore: fix more cases
* chore: update deps
* chore: update deps
* chore: refactor
* chore: refactor
* chore: refactor
2 years ago
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
2 years ago
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
2 years ago
Kevin Wan
a1466e1707
fix: range validation on mapping ( #2317 )
2 years ago
lowang-bh
1b477bbef9
improve: number range compare left and righ value ( #2315 )
...
Co-authored-by: wanglonghui7 <wanglonghui7@jd.com>
2 years ago
Kevin Wan
18035bd4d4
chore: refactor ( #2085 )
2 years ago
家福
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>
2 years ago
Kevin Wan
1d95e95cf8
chore: make methods consistent in signatures ( #1971 )
...
* chore: make methods consistent in signatures
* test: fix fails
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
Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Kevin Wan
bbb4ce586f
fix golint issues ( #584 )
4 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 Wan
c435811479
fix gocyclo warnings ( #278 )
4 years ago
kevin
0a7e0cce77
update package reference
4 years ago
kevin
7e3a369a8f
initial import
4 years ago