Change the type of opening hours from string to slice

This commit is contained in:
2022-03-10 09:37:13 +00:00
parent 6b4b4c9980
commit 8d142799b5

View File

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