diff --git a/backends/forecast.io.go b/backends/forecast.io.go index dcf7216..766fad0 100644 --- a/backends/forecast.io.go +++ b/backends/forecast.io.go @@ -29,8 +29,6 @@ type forecastDataPoint struct { PrecipIntensity *float32 `json:"precipIntensity"` PrecipProb *float32 `json:"precipProbability"` Temperature *float32 `json:"temperature"` - TemperatureMin *float32 `json:"temperatureMin"` - TemperatureMax *float32 `json:"temperatureMax"` ApparentTemperature *float32 `json:"apparentTemperature"` WindSpeed *float32 `json:"windSpeed"` WindBearing *float32 `json:"windBearing"` diff --git a/backends/worldweatheronline.com.go b/backends/worldweatheronline.com.go index 2e408c1..800ff83 100644 --- a/backends/worldweatheronline.com.go +++ b/backends/worldweatheronline.com.go @@ -43,8 +43,6 @@ type wwoDay struct { } Date string Hourly []wwoCond - MaxtempC *float32 `json:"maxtempC,string"` - MintempC *float32 `json:"mintempC,string"` } type wwoResponse struct { @@ -184,9 +182,6 @@ func wwoParseDay(day wwoDay, index int) (ret iface.Day) { ret.Date = date } - ret.MaxtempC = day.MaxtempC - ret.MintempC = day.MintempC - if day.Hourly != nil && len(day.Hourly) > 0 { for _, slot := range day.Hourly { ret.Slots = append(ret.Slots, wwoParseCond(slot, date)) diff --git a/iface/iface.go b/iface/iface.go index caa86dd..50beed6 100644 --- a/iface/iface.go +++ b/iface/iface.go @@ -88,12 +88,6 @@ type Day struct { // Date is the date of this Day. Date time.Time - // MaxtempC is the maximum temperature on that day in degrees celsius. - MaxtempC *float32 - - // MintempC is the minimum temperature on that day in degrees celsius. - MintempC *float32 - // Slots is a slice of conditions for different times of day. They should be // ordered by the contained Time field. Slots []Cond