sethvargo/go-envconfig

Allow space-separated slices

kszafran opened this issue · 1 comments

In some cases we may want to specify a list of values separated by spaces. That use case doesn't seem to be supported at the moment. This

SomeList []string `env:"SOME_LIST,delimiter= "`

always produces a slice with a single value.

Thanks for such a quick fix!