Documentation ¶
Index ¶
- func ConvertData(input, output interface{}, tag string) error
- func EscapeEnv(contents []byte) []byte
- func LoadEnvFile()
- func LoadEnvFileWithPath(path string, override bool)
- func LoadFile(path string) ([]byte, error)
- func LoadToMap(path string, c map[string]interface{}) error
- func TrimBOM(f []byte) []byte
- func UnmarshalToMap(in io.Reader, typ string, c map[string]interface{}) (err error)
- type ParseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEnvFileWithPath ¶ added in v1.1.1
LoadEnvFileWithPath .
Types ¶
type ParseError ¶
type ParseError struct {
// contains filtered or unexported fields
}
ParseError denotes failing to parse configuration file.
func (ParseError) Error ¶
func (pe ParseError) Error() string
Error returns the formatted configuration error.
Click to show internal directories.
Click to hide internal directories.