Documentation
¶
Overview ¶
Package envfile loads simple dotenv-style files without overriding process environment values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoadResult ¶
LoadResult describes one env-file load without exposing values.
func LoadIntoEnv ¶
func LoadIntoEnv(path string, explicit bool) (LoadResult, error)
LoadIntoEnv loads path and sets only names that are not already present in the process environment. Existing process values always win.
Click to show internal directories.
Click to hide internal directories.