You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
232 B
15 lines
232 B
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()
|
|
}
|
|
|