From 180350127291421b2b17d6ece7d7a9f9d4e1b21a Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sun, 16 Jan 2022 18:29:42 +0100 Subject: [PATCH] fix nil slice --- envconf.go | 1 + 1 file changed, 1 insertion(+) diff --git a/envconf.go b/envconf.go index f61993d..6407de4 100644 --- a/envconf.go +++ b/envconf.go @@ -283,6 +283,7 @@ func keySplit(key string) (left string, right string, ok bool) { func (c *Config) getRaw(key string, dtype DataType) (val cValue) { val.dtype = TypeNone + val.binval = make([]byte, 0, 0) if c.parsed { key = cleanKey(key) entry, ok := c.env[key]