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