Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAPIKeyMissing = errors.New("apiKey missing")
ErrAPIKeyMissing is returned by New if the API key is missing in the config.
Functions ¶
Types ¶
type Config ¶
type Config struct { APIKey string `json:"apiKey"` CityID string `json:"cityID"` CityName string `json:"cityName"` CountryCode string `json:"countryCode"` ZipCode string `json:"zipCode"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` }
Config for openweathermap.
Click to show internal directories.
Click to hide internal directories.