Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@deankarn deankarn released this 26 Jul 14:27
· 46 commits to master since this release

What's New in 2.0.0?

  • form now supports Decoding and Encoding of almost any type, not just structs. for #6
    eg.
// example url.Values
values := map[string][]string{ "val1", "val2" }

var arr []string

d.Decode(&arr, values)

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 )