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