From 8d142799b5858d3c2bcf97f13b343e8be95f6ebe Mon Sep 17 00:00:00 2001 From: Kevin ANATOLE Date: Thu, 10 Mar 2022 09:37:13 +0000 Subject: [PATCH] Change the type of opening hours from string to slice --- place/place.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/place/place.go b/place/place.go index f3c6819..d2bf4c8 100755 --- a/place/place.go +++ b/place/place.go @@ -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