Commit Graph

32 Commits (ebe0801d2fd3bad9734a1c73a8639ce496d97765)

Author SHA1 Message Date
Kevin Wan 49f73265b9
chore: refactor (#3164) 2 years ago
MarkJoyMa d10740f871
feat: inheritance rewrite error prompt is more friendly (#3156) 2 years ago
Kevin Wan 07f03ebd0c
fix: should not conflict on lower members (#3095) 2 years ago
kevin dd347e96b0 chore: add comments 2 years ago
kevin a972f400c6 fix: test failure 2 years ago
kevin.wan fb7664a764 fix: config map with json tag 2 years ago
Kevin Wan 7d5d7d9085
chore: clear errors on conf conflict keys (#2972)
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
MarkJoyMa 1ad7809fde x 2 years ago
MarkJoyMa 142c46228b x 2 years ago
MarkJoyMa f3cf891d4f feat: conf add FillDefault func 2 years ago
kevin d65801f258 chore: add comments 2 years ago
kevin eaac0ba8de chore: add more tests 2 years ago
kevin b449f2f39e chore: add more tests 2 years ago
kevin c57b0b8f90 feat: check key overwritten 2 years ago
Kevin Wan de4924a274
fix: config map cannot handle case-insensitive keys. (#2932)
* fix: #2922

* chore: rename const

* feat: support anonymous map field

* feat: support anonymous map field
2 years ago
Kevin Wan a019a1f59f
fix: conf anonymous overlay problem (#2847) 2 years ago
Kevin Wan ab9eeff500
fix: problem on name overlaping in config (#2820) 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 c7a0ec428c
fix: key like TLSConfig not working (#2730)
* fix: key like TLSConfig not working

* fix: remove unnecessary code

* chore: rename variable
2 years ago
Kevin Wan affbcb5698
fix: camel cased key of map item in config (#2715)
* fix: camel cased key of map item in config

* fix: mapping anonymous problem

* fix: mapping anonymous problem

* chore: refactor

* chore: add more tests

* chore: refactor
2 years ago
Kevin Wan dcfc9b79f1
feat: accept camelcase for config keys (#2651)
* feat: accept camelcase for config keys

* chore: refactor

* chore: refactor

* chore: add more tests

* chore: refactor

* fix: map elements of array
2 years ago
Kevin Wan d935c83a54
feat: support baggage propagation in httpc (#2375)
* feat: support baggage propagation in httpc

* chore: use go 1.16

* chore: use go 1.16

* chore: use go ^1.16

* chore: remove deprecated
2 years ago
Kevin Wan 1e717f9f5c
feat: add toml config (#1899) 3 years ago
Kevin Wan 469e62067c
add conf documents (#1869)
* add conf documents

* chore: use {} instead of () for environment variables
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Ted Chen 9db222bf5b
fix a simple typo (#588) 4 years ago
Kevin Wan 425be6b4a1
fix golint issues in core/conf (#476) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan ebec5aafab
use env if necessary in loading config (#409) 4 years ago
FengZhang 08433d7e04
add config load support env var (#309) 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago