From 310d3f598cfe04d2634b807443285bdc45b5b32f Mon Sep 17 00:00:00 2001 From: Amin Ghaninia Date: Mon, 26 Dec 2022 01:21:52 +0330 Subject: [PATCH] The `env` variable is already defined but has been declared again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f170cb..fb5fbaa 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ as a final aside, if you don't want godotenv munging your env you can just get a ```go var myEnv map[string]string -myEnv, err := godotenv.Read() +myEnv, err = godotenv.Read() s3Bucket := myEnv["S3_BUCKET"] ```