forked from Fuyu/forms
Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
d3c1898383 |
1 changed files with 5 additions and 1 deletions
6
forms.go
6
forms.go
|
@ -48,7 +48,11 @@ func decode(form Values, rv reflect.Value, prefix string) error {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
tu.UnmarshalText([]byte(v[0]))
|
err := tu.UnmarshalText([]byte(v[0]))
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue