Foursquarego is a simple Go package for accessing theFoursquare API.
If you find any errors please create an issue, the foursquare API has different types even for things with the same name.
go get -u github.com/peppage/foursquarego
httpClient := http.DefaultClient
// When creating the client you can specify either clientSecret or the accesstoken
client := foursquarego.NewClient(httpClient, "foursquare", "clientId", "clientSecret", "")
// Get venue details
venue, resp, err := client.Venues.Details("57d1efb5498e018d15de8ba3")
// Search Venues
venues, resp, err := client.Venues.Search(&VenueSearchParams{
LatLong: "40.7,-74",
Query: "singlecut",
})