Fixed a nasty bug related to lat/lon parsing
This commit is contained in:
12
types/weather.go
Normal file
12
types/weather.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package types
|
||||
|
||||
import "time"
|
||||
|
||||
// The Weather data type, representing the weather of a certain city
|
||||
type Weather struct {
|
||||
Date time.Time `json:"date"`
|
||||
Temperature string `json:"temperature"`
|
||||
Condition string `json:"condition"`
|
||||
FeelsLike string `json:"feelsLike"`
|
||||
Emoji string `json:"emoji"`
|
||||
}
|
||||
Reference in New Issue
Block a user