package
1.6.0-beta1
Repository: https://github.com/go-chassis/go-archaius.git
Documentation: pkg.go.dev
# README
env has higher precedence than file config and you can use under core to replace dot in env to replace file config
for example, to change config user
cred:
db:
user: admin
pwd:
you only need to set env "cred_db_user" or "cred.db.user"
then you can use archaius to get it, file config will be overwrite by env
archaius.Get("cred.db.user")
go build main.go
./main