mirror of https://github.com/velour/catbase.git
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:
parent
ed56a80b85
commit
1099b66492
|
@ -238,10 +238,10 @@ 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{}
|
||||||
}
|
}
|
||||||
|
|
||||||
type checkins struct {
|
type checkins struct {
|
||||||
|
|
Loading…
Reference in New Issue