Closed markbates closed 7 years ago
On some structs you don't want to bind a form field, even it is in the request. The standard way of doing this is to use a struct tag with - as the value, see JSON and XML in the standard library. This PR adds support for that in formam.
-
struct { Name string `formam:"-"` }
I had this in the roadmap. Thanks!
You're welcome! :)
On some structs you don't want to bind a form field, even it is in the request. The standard way of doing this is to use a struct tag with
-
as the value, see JSON and XML in the standard library. This PR adds support for that in formam.