1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-05 13:15:11 +02:00

3 Commits

Author SHA1 Message Date
Kuiba
44dd641f28
test config struct (#1212) 2021-07-20 09:55:18 +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