how to read a array of values with single key in go lang
export key=(abc def sos ded)
how to read this in viper
You will have to write your own parsing logic.
You can:
viper.GetString and further parse the string valueviper.UnmarshalKey and do the sameHope that helps
thank you @sagikazarmark it works
Most helpful comment
You will have to write your own parsing logic.
You can:
viper.GetStringand further parse the string valueviper.UnmarshalKeyand do the sameHope that helps