From 61639e84f38a7e4b5abee5086f98d8e51a177927 Mon Sep 17 00:00:00 2001 From: Peter Spiess-Knafl Date: Sat, 28 Sep 2024 19:50:45 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 152615a..8ea14a2 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ type Config struct { func main() { cfg := Config{} - cfg, err := tinyviper.LoadFromResolver(&cfg, tinyviper.EnvResolver{}, tinyviper.NewEnvFileResolver(".env.sample")) + err := tinyviper.LoadFromResolver(&cfg, tinyviper.EnvResolver{}, tinyviper.NewEnvFileResolver(".env.sample")) if err != nil { panic(err) }