diff --git a/types.go b/types.go index fef59d1..d58d7a0 100644 --- a/types.go +++ b/types.go @@ -169,14 +169,13 @@ type SearchResult struct { ClusterType string `json:"cluster_type"` CreativeWork *CreativeWork `json:"creative_work"` FAQ *FAQ `json:"faq"` - Locations *Locations `json:"locations"` + Location *LocationResult `json:"location"` Movie *MovieData `json:"movie"` MusicRecording *MusicRecording `json:"music_recording"` ProductCluster []Product `json:"product_cluster"` QA *QAPage `json:"qa"` Rating *Rating `json:"rating"` Recipe *Recipe `json:"recipe"` - Restaurant *LocationResult `json:"restaurant"` Review *Review `json:"review"` Software *Software `json:"software"` Video *VideoData `json:"video"` @@ -378,11 +377,6 @@ type PictureResults struct { ViewMoreURL string `json:"viewMoreUrl"` } -type Locations struct { - Type string `json:"type"` - Results []LocationResult `json:"results"` -} - type MovieData struct { Name string `json:"name"` Description string `json:"description"`