Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
LICENSE.md | H A D | 27-Dec-2018 | 1.1 KiB | |||
README.md | H A D | 27-Dec-2018 | 652 | |||
parse.go | H A D | 27-Dec-2018 | 3.1 KiB | |||
parse_test.go | H A D | 27-Dec-2018 | 5.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