print mapEnv
This commit is contained in:
parent
45f8b0f918
commit
2efc1a155e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user