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