drone-ssh/vendor/github.com/joho/godotenv/autoload/autoload.go
Bo-Yi Wu 7871a8e9f5 feat: switch glide to govendor. (#43)
* feat: switch glide to govendor.
2017-02-18 23:45:53 +08:00

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()
}