f128c947ab
* Refactor plugin to be compatible with Drone 0.5 * Add vendor files * Re-add logo.svg, make loading environment from .env file optional, and use drone-go/template * Fix README * Fix issue with date formatting, update the DOCS, and improve types * Add working directory and volume mount to README example
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()
|
|
}
|