dotenv

package module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() error

Load looks for .env configurations and will use them to override any system environment settings. This should be called once, at the top level of the program, but there's nothing stopping you from doing it more than once.

Check Order:

  1. ./.env
  2. $HOME/.env

Note, Load will stop at the first .env that is found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL