From 0f21d20acbcc34afe1201f21c9df8acec8a65da8 Mon Sep 17 00:00:00 2001 From: 2tef <21069422+2tef@users.noreply.github.com> Date: Thu, 26 Jan 2023 23:01:43 -0300 Subject: [PATCH] fix tiny details (#199) * remove empty line * remove unnecessary assignments following commit 2ed25fcb281a9102d39c8cdf7b1bd87101ea6cb9. --- README.md | 4 ++-- fixtures/equals.env | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f170cb..76a90d1 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/fixtures/equals.env b/fixtures/equals.env index 594c532..00c9809 100644 --- a/fixtures/equals.env +++ b/fixtures/equals.env @@ -1,2 +1 @@ export OPTION_A='postgres://localhost:5432/database?sslmode=disable' -