Skip to content

Commit

Permalink
fix: add place type of supermarket (#243)
Browse files Browse the repository at this point in the history
Co-authored-by: Yurii Voskoboinikov <voscob@Yuriis-MacBook-Pro.local>
  • Loading branch information
voscob and Yurii Voskoboinikov committed Aug 14, 2020
1 parent 2850570 commit 9c4a66a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ const (
PlaceTypeStorage = PlaceType("storage")
PlaceTypeStore = PlaceType("store")
PlaceTypeSubwayStation = PlaceType("subway_station")
PlaceTypeSupermarket = PlaceType("supermarket")
PlaceTypeSynagogue = PlaceType("synagogue")
PlaceTypeTaxiStand = PlaceType("taxi_stand")
PlaceTypeTrainStation = PlaceType("train_station")
Expand Down Expand Up @@ -446,6 +447,8 @@ func ParsePlaceType(placeType string) (PlaceType, error) {
return PlaceTypeStore, nil
case "subway_station":
return PlaceTypeSubwayStation, nil
case "supermarket":
return PlaceTypeSupermarket, nil
case "synagogue":
return PlaceTypeSynagogue, nil
case "taxi_stand":
Expand Down

0 comments on commit 9c4a66a

Please sign in to comment.