Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationInput ¶
type LocationInput struct {
CEP string `json:"cep"`
}
type LocationOut ¶
type LocationOut struct { CEP string `json:"cep"` Logradouro string `json:"logradouro"` Complemento string `json:"complemento"` Bairro string `json:"bairro"` Localidade string `json:"localidade"` Uf string `json:"uf"` Ibge string `json:"ibge"` Gia string `json:"gia"` Ddd string `json:"ddd"` Siafi string `json:"siafi"` ErrorOut interface{} `json:"erro"` }
type TemperatureCurrent ¶
type TemperatureCurrent struct { LastUpdatedEpoch int `json:"last_updated_epoch"` LastUpdated string `json:"last_updated"` TempC float64 `json:"temp_c"` TempF float64 `json:"temp_f"` IsDay int `json:"is_day"` Condition struct { Text string `json:"text"` Icon string `json:"icon"` Code int `json:"code"` } `json:"condition"` WindMph float64 `json:"wind_mph"` WindKph float64 `json:"wind_kph"` WindDegree int `json:"wind_degree"` WindDir string `json:"wind_dir"` PressureMb float64 `json:"pressure_mb"` PressureIn float64 `json:"pressure_in"` PrecipMm float64 `json:"precip_mm"` PrecipIn float64 `json:"precip_in"` Humidity int `json:"humidity"` Cloud int `json:"cloud"` FeelslikeC float64 `json:"feelslike_c"` FeelslikeF float64 `json:"feelslike_f"` VisKm float64 `json:"vis_km"` VisMiles float64 `json:"vis_miles"` Uv float64 `json:"uv"` GustMph float64 `json:"gust_mph"` GustKph float64 `json:"gust_kph"` }
type TemperatureInput ¶
type TemperatureLocation ¶
type TemperatureOutput ¶
type TemperatureResponseOut ¶
type TemperatureResponseOut struct { Location TemperatureLocation `json:"location"` Current TemperatureCurrent `json:"current"` }
Click to show internal directories.
Click to hide internal directories.