13 lines
326 B
Go
13 lines
326 B
Go
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"`
|
|
}
|