徐胖
77d2cfb653
chore(config/env): minor refactor ( #1232 )
...
* chore(config/env): minor refactor
4 years ago
longxboy
e1228d454a
support expand config keys ( #1224 )
...
* support expand config keys
* fix bytes in convertMap
4 years ago
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
4 years ago
longxboy
dba4b4007d
update WithDecoder comment
4 years ago
Kuiba
44dd641f28
test config struct ( #1212 )
4 years ago
Kuiba
060cb24535
<test> config/file: add tests for file watcher ( #1199 )
...
* add file watcher test
4 years ago
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
4 years ago
ymh199478
c2e3a59ebc
fix(config): strconv.ParseFloat use correct bitSize
4 years ago
喵喵大人
4780b6e1fd
ci(github action): use golangci-lint to replace the deprecated golint ( #1175 )
...
* ci: use golangci-lint to replace the deprecated golint
Co-authored-by: ymh199478 <yumenghan@bilibili.com>
4 years ago
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
4 years ago
Kagaya
9280af7165
add readValue ( #1161 )
4 years ago
Tony Chen
3795eddcf5
fix config decoder ( #1142 )
4 years ago
Kagaya
bba6f16017
feat: add int/int32/Stringer support when get atomicValue ( #1130 )
4 years ago
Windfarer
4e96e08471
config test ( #1063 )
...
* init test
* reader test
4 years ago
Tony Chen
e989bb04e3
add yaml encoder ( #924 )
4 years ago
Tony Chen
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
4 years ago
包子
0e4a057027
modify kratos cmd new project ( #907 )
...
* Modifying the kratos cmd new project does not use the go git module, but uses the native git command
4 years ago
Tzz
18ea3a6a47
Fix: marshalJson error, when values contains map[interface{}]interface{} ( #883 )
...
Co-authored-by: tzz <tzz.wannamoney@qq.com>
4 years ago
包子
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
4 years ago
Tony Chen
a0fe496a91
fix proto options ( #804 )
4 years ago
Tony Chen
a4409adf16
fix interface defines ( #760 )
...
* fix interface defines
4 years ago
Tony Chen
28009889bb
encoding/json: remove proto json ( #753 )
...
* remove protojson encoding
4 years ago
Tony Chen
f86c91849b
fix lint check ( #746 )
4 years ago
Tony Chen
7fb7347671
Update README.md
4 years ago
chenzhihui
c089611e5d
fix codec nil
4 years ago
Tony Chen
f50b731aa3
Develop ( #708 )
...
* fix proto codec
4 years ago
chenzhihui
5928009fa0
add docs related
4 years ago
chenzhihui
3566386a89
init v2
4 years ago