I have an API response like this:
{
"Pass ✔": true
}
In Go I use this code:
type Status struct {
Pass bool `json:"Pass ✔"`
}
// ...
var s Status
json.Unmarshal(body, &s)
fmt.Println(s.Pass) // false, where it should be true
How can I correctly unmarshal this JSON document?