Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPathNotTranslatable = errors.New("provided invalid path cannot be translated into absolute path") ErrFileNotFound = errors.New("specified file not found") )
Functions ¶
func LoadDotEnv ¶
Load environment variables from dotEnv (.env) files. Can pass in multiple files.
Types ¶
type ConfigType ¶
type ConfigType[T interface{}] interface {
Config() (T, error)
}
The template for config structs to implements
Click to show internal directories.
Click to hide internal directories.