Fuck Untappd and their representation of empty items in JSON. Just don't include

the fucking field if you don't have data for it!
This commit is contained in:
Chris Sexton 2013-01-19 16:42:05 -05:00
parent ed56a80b85
commit 1099b66492
1 changed files with 4 additions and 4 deletions

View File

@ -238,10 +238,10 @@ type checkin struct {
Checkin_id int
Created_at string
Checkin_comment string
Rating_score int
Beer map[string]interface{}
Brewery map[string]interface{}
Venue interface{}
// Rating_score int // Apparently Untappd makes this a string when not present. :(
Beer map[string]interface{}
Brewery map[string]interface{}
Venue interface{}
}
type checkins struct {