Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TravelTime ¶
type TravelTime struct {
TravelTimeMinutes int `json:"travel_time_minutes"`
}
TravelTime is a response to a travel time request
func GetTravelTime ¶
func GetTravelTime(start string, end string, key string) (*TravelTime, error)
GetTravelTime gets the travel time between 2 coordinates
Click to show internal directories.
Click to hide internal directories.