• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

LICENSE.mdH A D27-Dec-20181.1 KiB

README.mdH A D27-Dec-2018652

parse.goH A D27-Dec-20183.1 KiB

parse_test.goH A D27-Dec-20185.7 KiB

README.md

1# go-dotenv
2
3Go parsing library for the dotenv format.
4
5There is no formal definition of the dotenv format but it has been introduced
6by https://github.com/bkeepers/dotenv which is thus canonical. This library is a port of that.
7
8This library was developed specifically for [direnv](https://direnv.net).
9
10## Features
11
12* `k=v` format
13* bash `export k=v` format
14* yaml `k: v` format
15* comments
16
17## Missing
18
19* support for variable expansion, probably needs API breakage
20
21## Alternatives
22
23Some other good alternatives with various variations.
24
25* https://github.com/joho/godotenv
26* https://github.com/lazureykis/dotenv
27* https://github.com/subosito/gotenv
28
29