Viper 配置設定黨
配置設定黨
What is Viper
setting defaults
reading from JSON, TOML, YAML, HCL, envfile and Java properties config files
live watching and re-reading of config files (optional)
reading from environment variables
reading from remote config systems (etcd or Consul), and watching changes
reading from command line flags
reading from buffer
setting explicit values
sample
watch
reference
reference
在 Go 語言使用 Viper 管理設定檔 https://blog.wu-boy.com/2017/10/go-configuration-with-viper/
Golang的配置資訊處理框架Viper【專案地址 https://www.itread01.com/content/1543084987.html
golang基礎學習-動態獲取配置檔案(viper) https://www.mdeditor.tw/pl/pM5S/zh-tw
Last updated