Release 2.0.0
What's New in 2.0.0?
// example url.Values
values := map[string][]string{ "val1", "val2" }
var arr []string
d.Decode(&arr, values)
- When an invalid Go value is passed to Decode or Encode, form no longer panics, but instead will return an InvalidDecodeError or InvalidEncodeError which deals with #7
Thanks @themihai for suggesting #6 and questioning #7
Any Fixes?
- Corrected a bug where when decoding non indexed array values into an array with existing values was overwriting the current values instead of appending to the array, this has been corrected. ( Don't worry too much, most people won't have been using a pre-filled array )