1 Commits

Author SHA1 Message Date
8d142799b5 Change the type of opening hours from string to slice 2022-03-10 09:37:13 +00:00

View File

@@ -74,7 +74,7 @@ type Result struct {
// open now
OpenNow bool `json:"open_now"`
// opening hours
OpeningHours string `json:"opening_hours"`
OpeningHours []interface{} `json:"opening_hours"`
// rating from 1.0 to 5.0
Rating float64 `json:"rating"`
// type of location