github.com/youla-dev/godenv (go): Package godenv is a tiny module that parses .env files.  We took inspiration from the godotenv (https://github.com/joho/godotenv) repository. The goal we pursued was to write a parser without using regular expressions but with a lexer/parser approach.  The current specification of .env files format is listed in SPECIFICATION.md (https://github.com/youla-dev/godenv/blob/main/SPECIFICATION.md).  If you are curious about learning more about the approach, see the following links:  Let's assume, you have a .env file with the following content:  You can easily open the file and parse its content into map[string]string:
Keywords: dotenv|env|golang