Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEnv ¶
func LoadEnv(opts *EnvOptions) error
LoadEnv loads environment variables based on the default .env file and the current environment. The loading order is: .env -> .env.local -> .env.<environment> -> .env.<environment>.local
Types ¶
type EnvOptions ¶
EnvOptions contains options for loading environment variables
Click to show internal directories.
Click to hide internal directories.