list daily weathers 구현
This commit is contained in:
@@ -9,3 +9,10 @@ type Weather struct {
|
||||
Condition string
|
||||
Temperature float64 // Celsius
|
||||
}
|
||||
|
||||
type DailyWeather struct {
|
||||
Date time.Time
|
||||
High float64 // Celsius
|
||||
Low float64 // Celsius
|
||||
Condition string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user