Load is function to load a file or multiple files and then export the valid variables which found into environment variables. When it's called with no argument, it will load `.env` file on the current path and set the environment variables. Otherwise, it will loop over the filenames parameter and set the proper environment variables.

// processing `.env`

// processing multiple files
gotenv.Load("production.env", "credentials")

Load is referenced in 0 repositories