Documentation
¶
Index ¶
Constants ¶
View Source
const TagName = "scfg"
TagName is the tag name used in config struct. The Tag contains two value. "config_key,default=def_value(optional)"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigProvider ¶
type ConfigUnmarshaler ¶
type ConfigUnmarshaler interface {
ConfigProvider
Unmarshal(val interface{}) error
UnmarshalWithPrefix(prefix string, val interface{}) error
}
Click to show internal directories.
Click to hide internal directories.