From 80336a1a717727b4c39cc86f5f011d240de448b6 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 12 Jul 2014 08:27:09 -0700 Subject: [PATCH] importer/foursquare: add a few more fields to the API struct. Not used yet. The shout text at least we should import. Change-Id: Ib8051e0956c6e7dbd2aee52e0a76d43b46340d20 --- pkg/importer/foursquare/api.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/importer/foursquare/api.go b/pkg/importer/foursquare/api.go index 143d312bc..e3048174b 100644 --- a/pkg/importer/foursquare/api.go +++ b/pkg/importer/foursquare/api.go @@ -39,9 +39,11 @@ type checkinsList struct { } type checkinItem struct { - Id string - CreatedAt int64 // unix time in seconds from 4sq - Venue venueItem + Id string + CreatedAt int64 // unix time in seconds from 4sq + TimeZoneOffset int // offset in minutes. positive is east. + Shout string // "Message from check-in, if present and visible to the acting user." + Venue venueItem } type venueItem struct {