We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c76d3e commit 0f21d20Copy full SHA for 0f21d20
README.md
@@ -75,8 +75,8 @@ import _ "github.com/joho/godotenv/autoload"
75
While `.env` in the project root is the default, you don't have to be constrained, both examples below are 100% legit
76
77
```go
78
-_ = godotenv.Load("somerandomfile")
79
-_ = godotenv.Load("filenumberone.env", "filenumbertwo.env")
+godotenv.Load("somerandomfile")
+godotenv.Load("filenumberone.env", "filenumbertwo.env")
80
```
81
82
If you want to be really fancy with your env file you can do comments and exports (below is a valid env file)
fixtures/equals.env
@@ -1,2 +1 @@
1
export OPTION_A='postgres://localhost:5432/database?sslmode=disable'
2
-
0 commit comments