Windfarer
6d06721fc8
fix(config): fix data race ( #1316 )
...
* data race
* fix values
* lock
2021-08-11 07:59:58 +08:00
longxboy
e1228d454a
support expand config keys ( #1224 )
...
* support expand config keys
* fix bytes in convertMap
2021-07-21 23:09:34 +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
7f394d0d0a
feat(env): add config env source ( #1181 )
...
* add config/env
* feat(env): add config env source
* fix: resolve map array & add test case
* remove return stop error
* using gob encoding to deep copy map
* fix ci failed
2021-07-14 13:10:18 +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
Kagaya
9280af7165
add readValue ( #1161 )
2021-07-07 23:16:30 +08:00
Tzz
18ea3a6a47
Fix: marshalJson error, when values contains map[interface{}]interface{} ( #883 )
...
Co-authored-by: tzz <tzz.wannamoney@qq.com>
2021-04-29 14:57:13 +08:00
包子
b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version ( #877 )
...
* middleware/logging add traceid to the printed log,modify the example code and update the dependent version
* Fix the problem that the configuration could not use arrays
2021-04-28 14:30:51 +08:00
Tony Chen
a0fe496a91
fix proto options ( #804 )
2021-03-29 00:00:48 +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
chenzhihui
c089611e5d
fix codec nil
2021-02-17 22:49:16 +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