Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
Set non-zero values on a struct using reflection to parse values from os.Environ() followed by parsing values from any provided .env files. Existing values will not be overwritten if the same key is encountered later. If a file doesn't exist it will be skipped.
Types ¶
type EnvMap ¶
func ParseEnvFile ¶
Parse a single env file using godotenv.Parse
func ParseFiles ¶
Parse multiple env files and merge the results into a single map. Existing values are skipped when merging. This defines the precedence as left to right.
Click to show internal directories.
Click to hide internal directories.