Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 560 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 560 Bytes

dotenv Build Status

Port of bkeepers/dotenv to Go language.

Loads environment variables from .env file. Useful for development configuration.

Get started:

go get github.com/lazureykis/dotenv
cd $GOPATH/src/github.com/lazureykis/dotenv/example
go run main.go

Usage:

import "github.com/lazureykis/dotenv"


func main() {
  dotenv.Go()
  // or dotenv.GoWithPath('/full/path/to/.env_file')
}