Skip to content

Go dotenv parsing library for direnv

License

Notifications You must be signed in to change notification settings

indigoviolet/go-dotenv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-dotenv

Go parsing library for the dotenv format.

There is no formal definition of the dotenv format but it has been introduced by https://github.com/bkeepers/dotenv which is thus canonical. This library is a port of that.

This library was developed specifically for direnv.

Features

  • k=v format
  • bash export k=v format
  • yaml k: v format
  • variable expansion, including default values as in ${FOO:-default}
  • comments

Missing

  • probably needs API breakage

Alternatives

Some other good alternatives with various variations.

About

Go dotenv parsing library for direnv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%