🐛 Fixed 'env: expected a pointer to a Struct' error

This commit is contained in:
Maxim Lebedev 2023-01-16 17:25:13 +06:00
parent 8e4ae72f7f
commit db44b4e3bd
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5

View File

@ -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_",