package foo type foo struct { bar string `validate:"bar,max=32"` t bool `json:"t" validate:"t,max=32"` qux int `json:"qux" validate:"qux,max=32"` }