print mapEnv

This commit is contained in:
Roy Olav Purser 2022-01-29 22:00:54 +01:00
parent 45f8b0f918
commit 2efc1a155e
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -86,6 +86,7 @@ func (c *Config) Define(key string, dtype DataType) {
// Variables without a defined type will be ignored by Parse. // Variables without a defined type will be ignored by Parse.
func (c *Config) DefineMap(key string, dtype DataType) { func (c *Config) DefineMap(key string, dtype DataType) {
key = cleanKey(key) key = cleanKey(key)
fmt.Println(c.mapEnv)
entries, ok := c.mapEnv[key] entries, ok := c.mapEnv[key]
if ok { if ok {
for _, key = range entries { for _, key = range entries {