1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-01 13:07:48 +02:00

7 Commits

Author SHA1 Message Date
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
Kagaya
fee1b34973
test(config): add test case for resolver (#1377) 2021-08-26 14:34:35 +08:00
包子
925e55a04d
fix(config): replace text with "${}" only (#1375)
* fix(config): replace text with "${}" only
2021-08-25 23:52:25 +08:00
Giovanny Gutiérrez
9a6c03a9e5
fix(config): Support colon as default value in config.yaml (#1332) 2021-08-14 09:50:26 +08:00
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