package foo type foo struct { bar string `json:"bar"` MyExample bool `json:"myExample"` MyAnother []string }