sethvargo / go-envconfig

A Go library for parsing struct tags from environment variables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom key-value separator for maps

Ayush21298 opened this issue · comments

By default : is used as key-value separator while parsing map.
Sometimes the keys or values might also contain : in them (like in case of IPv6 addresses), in which case it becomes difficult to directly take the input as map[string]string.
In order to incorporate such scenarios, the key-value separator can be made easily customizable.