Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefault ¶
GetDefault fetch the env var or an defaultValue if not set
func LoadDotEnv ¶
func LoadDotEnv()
LoadDotEnv load .env files in the following order: .env, .env.local, .env.$APP_ENV, .env.$APP_ENV.local If there is a problem loading any .env file, it will just be ignored TODO: check for required values
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.