Skip to content

Commit

Permalink
fix location subtype (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpedrie authored Jul 23, 2024
1 parent 785d74e commit 311d070
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit 311d070

Please sign in to comment.