mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-22 21:20:40 +00:00
16 lines
232 B
Go
16 lines
232 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()
|
||
|
}
|