Skip to content
/ go-env Public

Load environment variables into your project really fast

Notifications You must be signed in to change notification settings

ableinc/go-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Load environment variables into your project really fast

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages