From e1f87cdb6c8ef9d13e7dfec645e1c25657015a23 Mon Sep 17 00:00:00 2001 From: Mikhail Beliakov Date: Tue, 11 Mar 2025 14:11:04 +0000 Subject: [PATCH] Fix Precedence & Conventions in README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfbe66a..e53caa5 100644 --- a/README.md +++ b/README.md @@ -132,12 +132,12 @@ if "" == env { env = "development" } -godotenv.Load(".env." + env + ".local") +godotenv.Load() // The Original .env +godotenv.Load(".env." + env) if "test" != env { godotenv.Load(".env.local") } -godotenv.Load(".env." + env) -godotenv.Load() // The Original .env +godotenv.Load(".env." + env + ".local") ``` If you need to, you can also use `godotenv.Overload()` to defy this convention