Skip to content

Commit

Permalink
fix tiny details (#199)
Browse files Browse the repository at this point in the history
* remove empty line

* remove unnecessary assignments

following commit 2ed25fc.
  • Loading branch information
2tef committed Jan 27, 2023
1 parent 5c76d3e commit 0f21d20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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

```go
_ = godotenv.Load("somerandomfile")
_ = godotenv.Load("filenumberone.env", "filenumbertwo.env")
godotenv.Load("somerandomfile")
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)
Expand Down
1 change: 0 additions & 1 deletion fixtures/equals.env
@@ -1,2 +1 @@
export OPTION_A='postgres://localhost:5432/database?sslmode=disable'

0 comments on commit 0f21d20

Please sign in to comment.