package
Version:
v2.0.0-...-057b331
Opens a new window with list of versions in this module.
Published: Oct 6, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Load(config interface{}) error
Load loads config from ENV config or arguments config.
func Parse(data []byte, config interface{}) error
Parse parse bytes to config
Read reads config from file.
func ToString(config interface{}) string
ToString returns string representation of Config
type ConfigPath struct {
ConfigPath string `long:"config" env:"CONFIG" description:"yaml config file path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.