package
Version:
v3.4.2
Opens a new window with list of versions in this module.
Published: Jan 5, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 23
Opens a new window with list of known importers.
Documentation
¶
type DotEnv struct {
Path string
}
DotEnv is a feeder.
It feeds using dot env (.env) files.
Env is a feeder.
It feeds using OS environment variables.
func (f Env) Feed(structure interface{}) error
type Json struct {
Path string
}
Json is a feeder.
It feeds using a JSON file.
func (f Json) Feed(structure interface{}) error
type Toml struct {
Path string
}
Toml is a feeder.
It feeds using a TOML file.
func (f Toml) Feed(structure interface{}) error
type Yaml struct {
Path string
}
Yaml is a feeder.
It feeds using a YAML file.
func (f Yaml) Feed(structure interface{}) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.