Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 462 Bytes

File metadata and controls

17 lines (12 loc) · 462 Bytes

Go env

A simple library to import environment variables from a file into your program at runtime. For large (files with more than 20 variables) it will split the env file into even chunks based on number of CPUs on your machine, then add the variables to your environment.

How to use

  1. Add to your project
go get github.com/ableinc/go-env
  1. Import in your project
import "github.com/ableinc/go-env"

goenv.LoadEnv(".env", false)