Cluas
d4c0c57681
feat(log): log load config only when Debug level ( #1899 )
2022-03-29 16:39:31 +08:00
Casper-Mars
5e18a15109
fix(config/config):fix type not match bug ( #1837 )
...
If the type of new value not match the old one, value stay the old one.
2022-02-24 23:45:27 +08:00
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
2022-01-12 15:34:49 +08:00
Windfarer
a8692e7dde
feat(contrib/config): use key file extension as format & config load log ( #1619 )
...
* add format
2021-11-10 20:10:28 +08:00
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
2021-08-31 10:14:57 +08:00
月墨夕
fdce5f0746
fix:config groutine(watch) leak ( #1327 )
...
* fix:config goroutine(watch) Leak
2021-08-13 14:09:53 +08:00
byteneco
39a36b49e1
append config watchers when watch source ( #1320 )
...
Co-authored-by: sukkids <ehekirahoshi@gmail.com>
2021-08-12 13:39:32 +08:00
Kuiba
0e70bddaa9
fix(config): load env and file source order bug ( #1220 )
...
* fix config load env & file order bug
* fix watch issue
* return empty as each update can be resolved
2021-07-21 15:58:43 +08:00
Kagaya
e19730e4b6
feat(config): support Resolver for config variable placeholders ( #1135 )
...
* test: add yaml test case for reader
test: init test case for fillTemplate
* add env placeholder resolver
fix ci test fail
* fix ci test fail
* feat(config): add config resolver
* test(config): add test cases
* move defaultDecoder & defaultResolver to options.go
2021-07-11 00:03:43 +08:00
Tony Chen
3795eddcf5
fix config decoder ( #1142 )
2021-07-03 15:30:19 +08:00
Tony Chen
e989bb04e3
add yaml encoder ( #924 )
2021-05-17 21:52:23 +08:00
Tony Chen
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
2021-05-17 16:34:28 +08:00
Tony Chen
a4409adf16
fix interface defines ( #760 )
...
* fix interface defines
2021-03-11 23:26:07 +08:00
Tony Chen
28009889bb
encoding/json: remove proto json ( #753 )
...
* remove protojson encoding
2021-03-10 22:32:43 +08:00
Tony Chen
f86c91849b
fix lint check ( #746 )
2021-03-05 22:40:38 +08:00
Tony Chen
f50b731aa3
Develop ( #708 )
...
* fix proto codec
2021-02-17 22:44:56 +08:00
chenzhihui
3566386a89
init v2
2021-02-17 17:14:47 +08:00