Specifically, I believe this applies to types which should be
map[string]string{} or similar.
Examples:
analytics.GaDataTotalsForAllResults
https://code.google.com/p/google-api-go-client/source/browse/analytics/v3/analyt
ics-gen.go#866
analytics.McfDataTotalsForAllResults
https://code.google.com/p/google-api-go-client/source/browse/analytics/v3/analyt
ics-gen.go#1189
analytics.ColumnAttributes:
https://code.google.com/p/google-api-go-client/source/browse/analytics/v3/analyt
ics-gen.go#31
In JSON, the result (for GaDataTotalsForAllResults, for example) looks like
this:
...
"totalsForAllResults": {
"ga:visits": "9978"
},
...
But in the struct type, it just ends up being a pointer to a blank struct and
the map is lost.
Original issue reported on code.google.com by shazow on 7 Sep 2013 at 10:53
Original issue reported on code.google.com by
shazow
on 7 Sep 2013 at 10:53