Commit Graph

46 Commits (5b622d6265ec2d28b55bd42d1f8f6cefcd9b0e9f)

Author SHA1 Message Date
Kevin Wan 4a2a8d9e45
chore: add more tests (#3279) 2 years ago
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 Wan 9c6b516bb8
fix: #3058 (#3059) 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 c9b05ae07e
fix: mapping optional dep not canonicaled (#2807) 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 d4c9fd2aff
chore: add golangci-lint config file (#2519)
* chore: add golangci-lint config file

* chore: member alignment
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 3da5c5f530
Update readme.md 2 years ago
Kevin Wan 1694a92db0
Update readme.md 2 years ago
Gaffey 2a900e1795
typo: add type keyword (#1992) 3 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
Kevin Wan 11f85d1b80
chore: remove conf.CheckedDuration (#1235) 3 years ago
Kevin Wan 429f85a9de
feat: slow threshold customizable in redis (#1185)
* feat: slow threshold customizable in redis

* chore: improve config robustness
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
Kevin Wan b0ccfb8eb4
add more tests for conf (#371) 4 years ago
Kevin Wan bb6d49c17e
add go report card back (#313)
* add go report card back

* avoid test failure, run tests sequentially
4 years ago
Kevin Wan ba4bac3a03
format code (#312) 4 years ago
FengZhang 08433d7e04
add config load support env var (#309) 4 years ago
kevin 481895d1e4 add more tests 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago