Open mmavka opened 1 year ago
Hello. Thanks for the library. I can't figure out how to pass through env [][]string. Thank you.
type Config struct { Target [][]string `yaml:"target" env:"TARGET"` }
From yaml work:
target: - ["key1","value1"] - ["key2","value2"]
How can I pass this through env?
Maybe you should use map[string]string and write it as the key-value format.
map[string]string
target: key1: value1 key2: value2
Hello. Thanks for the library. I can't figure out how to pass through env [][]string. Thank you.
From yaml work:
How can I pass this through env?