From db44b4e3bd4621f00821891322ce2f072e976fb1 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Mon, 16 Jan 2023 17:25:13 +0600 Subject: [PATCH] :bug: Fixed 'env: expected a pointer to a Struct' error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7c7f8b4..104b4ed 100644 --- a/main.go +++ b/main.go @@ -115,7 +115,7 @@ func init() { flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile") flag.Parse() - if err := env.Parse(&config, env.Options{ + if err := env.Parse(config, env.Options{ Environment: nil, OnSet: nil, Prefix: "INDIEAUTH_",