Closed infalmo closed 4 years ago
@coryb @AlecAivazis Could you please review this PR, and suggest changes if any?
Hey @infixint943! Would you mind writing a test that covers this change? I am having a hard time following the exact situation you are trying to address.
@AlecAivazis I have added tests. I would be very thankful if you reviewed them!
Any updates @AlecAivazis?
Hello! Basically, the commit enables to write just the string value (or index) of an option selected in
survey.Select{}
to a map ofstrings
/ints
. This is achieved by passing amap[string]string
ormap[string]int
instead ofmap[string]interface{}
.Also, thanks a lot for this wonderful package!