From 13fa723da4ad08f887b9277467a23870fa325f3a Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 27 Dec 2023 17:45:27 -0500 Subject: [PATCH] Fix docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a89d88f..fa9fbfe 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Define a struct with fields using the `env` tag: ```go type MyConfig struct { - Port string `env:"PORT"` + Port string `env:"PORT"` Username string `env:"USERNAME"` } ``` @@ -59,7 +59,7 @@ type MyConfig struct { } type DatabaseConfig struct { - Port string `env:"PORT"` + Port string `env:"PORT"` Username string `env:"USERNAME"` } ``` @@ -118,7 +118,7 @@ examples. ```go type MyStruct struct { - Port string `env:"PORT,overwrite"` + Port string `env:"PORT, overwrite"` } ```