Example #1
0
// Load loads a file containing standard os environment key/value pairs,
// doesn't override currently set variables
//
// e.g.: .env
//
//     PORT=3000
//     ADDR=0.0.0.0
//     DEBUG=true
//
func Load(filenames ...string) error {
	return dotenv.Load(filenames...)
}
Example #2
0
func init() {
	godotenv.Load()
}