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