Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZipGeo ¶
type ZipGeo struct { Zipcode int `json:"zipcode"` // US zipcode Latitude float64 `json:"latitude"` // Latitude Longitude float64 `json:"longitude"` // Longitude Version string `json:"version"` // Service version }
ZipGeo defines a zipcode -> lat,long lookup result
type ZipGeoService ¶
type ZipGeoService struct{}
ZipGeoService is a lookup service for zipcode->lat,long data
func (ZipGeoService) GetLatLong ¶
GetWeatherReport gets the weather report
Click to show internal directories.
Click to hide internal directories.