README ¶ loader go golang load yaml json toml from file or http ,also support from env use struct tag only support map[string]interface{} or struct Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ # loader go golang load yaml json toml from file or http ,also support from env use struct tag Index ¶ Variables type A type Config type Loader func Load(config *Config, i interface{}, paths ...string) (*Loader, error) func New(config *Config) *Loader func (loader *Loader) Load(i interface{}, paths ...string) (*Loader, error) Constants ¶ This section is empty. Variables ¶ View Source var Parse = utils.Parse Functions ¶ This section is empty. Types ¶ type A ¶ type A struct { Config } type Config ¶ type Config = utils.Config type Loader ¶ type Loader struct { Config *Config } func Load ¶ func Load(config *Config, i interface{}, paths ...string) (*Loader, error) func New ¶ func New(config *Config) *Loader func (*Loader) Load ¶ func (loader *Loader) Load(i interface{}, paths ...string) (*Loader, error) Source Files ¶ View all Source files doc.go main.go Directories ¶ Show internal Expand all Path Synopsis example utils Click to show internal directories. Click to hide internal directories.