Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DATA string
-X 'github.com/fox-one/pkg/config.DATA=$(DATA)'
Functions ¶
func AutomaticLoadEnv ¶ added in v1.3.1
func AutomaticLoadEnv(prefix string)
load os environments to viper defaults with prefix "fox" FOX_DB__NAME -> db.name FOX_DB__BROKER_ID -> db.broker_id
func SetDefault ¶ added in v1.2.7
func SetDefault(key string, value interface{})
func SetDefaults ¶ added in v1.2.7
func SetDefaults(defaults H)
Types ¶
Click to show internal directories.
Click to hide internal directories.