Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEnvFile ¶
LoadEnvFile - Tries to load an env file from a path given, if panicOnFailure == true panic istead returning error
Types ¶
type LoadEnvFileError ¶
type LoadEnvFileError struct {
// contains filtered or unexported fields
}
LoadEnvFileError - Defines a struct for failed load env file
func NewLoadEnvFileError ¶
func NewLoadEnvFileError(msg string) *LoadEnvFileError
NewLoadEnvFileError - Returns a new instance of LoadEnvFileError
func (*LoadEnvFileError) Error ¶
func (l *LoadEnvFileError) Error() string
Error - Implements error interface
Click to show internal directories.
Click to hide internal directories.