Skip to content

Commit 0f21d20

Browse files
authored
fix tiny details (#199)
* remove empty line * remove unnecessary assignments following commit 2ed25fc.
1 parent 5c76d3e commit 0f21d20

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ import _ "github.com/joho/godotenv/autoload"
7575
While `.env` in the project root is the default, you don't have to be constrained, both examples below are 100% legit
7676

7777
```go
78-
_ = godotenv.Load("somerandomfile")
79-
_ = godotenv.Load("filenumberone.env", "filenumbertwo.env")
78+
godotenv.Load("somerandomfile")
79+
godotenv.Load("filenumberone.env", "filenumbertwo.env")
8080
```
8181

8282
If you want to be really fancy with your env file you can do comments and exports (below is a valid env file)

Diff for: fixtures/equals.env

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export OPTION_A='postgres://localhost:5432/database?sslmode=disable'
2-

0 commit comments

Comments
 (0)