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,7 +238,7 @@ type checkin struct {
Checkin_id int Checkin_id int
Created_at string Created_at string
Checkin_comment string Checkin_comment string
Rating_score int // Rating_score int // Apparently Untappd makes this a string when not present. :(
Beer map[string]interface{} Beer map[string]interface{}
Brewery map[string]interface{} Brewery map[string]interface{}
Venue interface{} Venue interface{}