Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownSourceType = errors.New("unknown type")
ErrUnknownSourceType when source type not string-path or io.Reader
Functions ¶
func Load ¶
func Load(src, config interface{}) error
Load config from source (like io.Reader / string path) and validate it (https://github.com/go-playground/validator)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.