Documentation
¶
Index ¶
Constants ¶
View Source
const TagName = "cfgur"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigProvider ¶
type ConfigUnmarshaler ¶
type ConfigUnmarshaler interface {
ConfigProvider
Unmarshal(val interface{}) error
}
func NewDotenvMarshaller ¶
func NewDotenvMarshaller(filenames ...string) ConfigUnmarshaler
func NewEnvMarshaller ¶
func NewEnvMarshaller() ConfigUnmarshaler
func NewIniConfig ¶
func NewIniConfig(filename string) ConfigUnmarshaler
NewIniConfig creates a new instance of INI configuration manager
func NewJsonMarshaller ¶
func NewJsonMarshaller(filepath string) ConfigUnmarshaler
Click to show internal directories.
Click to hide internal directories.