linzhengen / tech-notes

My tech notes write in github issues🧲
1 stars 0 forks source link

[20201104] viperがトランプを勝てるかも #23

Open linzhengen opened 4 years ago

linzhengen commented 4 years ago

viper強力だ、etcdのremote providerも使える!!いつか使ってみたい

var runtime_viper = viper.New()
runtime_viper.AddRemoteProvider("etcd", "http://127.0.0.1:4001", "/config/hugo.yml")

https://github.com/spf13/viper