https://github.com/unsafe-risk/dotenv
a simple and fast dotenv reader
https://github.com/unsafe-risk/dotenv
dotenv env environment-variables go golang
Last synced: over 1 year ago
JSON representation
a simple and fast dotenv reader
- Host: GitHub
- URL: https://github.com/unsafe-risk/dotenv
- Owner: unsafe-risk
- License: mit
- Created: 2022-05-18T09:29:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T22:07:23.000Z (over 3 years ago)
- Last Synced: 2024-04-28T05:14:36.321Z (about 2 years ago)
- Topics: dotenv, env, environment-variables, go, golang
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# dotenv
dotenv is a simple library for loading environment variables from a `.env` file into the current process.
## install
```bash
go get -u github.com/unsafe-risk/dotenv
```
## grammar
```dotenv
key=value
```
dotenv file must have a new line(`\n`) at the end of each line.
last line can skip new line.