Compare commits

..

1 Commits

Author SHA1 Message Date
d3c1898383 Return UnmarshalText error (#2)
Co-authored-by: Crow Crowcrow <crow@fuyu.moe>
Co-committed-by: Crow Crowcrow <crow@fuyu.moe>
2022-06-02 14:16:10 +02:00

View File

@ -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
} }