mirror of https://github.com/joho/godotenv.git
fix tiny details (#199)
* remove empty line
* remove unnecessary assignments
following commit 2ed25fcb28
.
pull/140/merge
parent
5c76d3e02c
commit
0f21d20acb
|
@ -75,8 +75,8 @@ import _ "github.com/joho/godotenv/autoload"
|
||||||
While `.env` in the project root is the default, you don't have to be constrained, both examples below are 100% legit
|
While `.env` in the project root is the default, you don't have to be constrained, both examples below are 100% legit
|
||||||
|
|
||||||
```go
|
```go
|
||||||
_ = godotenv.Load("somerandomfile")
|
godotenv.Load("somerandomfile")
|
||||||
_ = godotenv.Load("filenumberone.env", "filenumbertwo.env")
|
godotenv.Load("filenumberone.env", "filenumbertwo.env")
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to be really fancy with your env file you can do comments and exports (below is a valid env file)
|
If you want to be really fancy with your env file you can do comments and exports (below is a valid env file)
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
export OPTION_A='postgres://localhost:5432/database?sslmode=disable'
|
export OPTION_A='postgres://localhost:5432/database?sslmode=disable'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue