godotenv/autoload/autoload.go
2013-07-31 19:46:42 +10:00

16 lines
238 B
Go

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