From 92134cbe7a66c45b0075df731932bf650916c3f7 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Tue, 23 Mar 2021 10:16:25 +0100 Subject: [PATCH] make correct type --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c4c7b5a..8eae732 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ type Config struct { func NewConfig()(*Config) { config := new(Config) - config.env = make(map[string]string) + config.env = make(map[string]map[string]int) for _,v := range os.Environ() { splitted := strings.SplitN(v, "=", 2) if len(splitted) == 2 {