It seems that the JSON part supports having multiple "sub-forms" (slices of structs ?).
I would like to have something like (not File Uploads here, plain HTML input forms):
type ItemFile struct {
Filename string
Content string `binding:"Required;Text"`
}
type Item struct {
Description string `binding:"Required"`
Files []ItemFile // ?
}
Is it possible to do that ? how should I use the "ItemFile" and naming in html for fields names ?