godotenv/autoload/autoload.go
2020-06-26 15:22:04 -03:00

16 lines
234 B
Go

package autoload
/*
You can just read the .env file on import just by doing
import _ "github.com/mniak/godotenv/autoload"
And bob's your mother's brother
*/
import "github.com/mniak/godotenv"
func init() {
godotenv.Load()
}