Fixed a nasty bug related to lat/lon parsing

This commit is contained in:
2025-06-17 09:35:59 +02:00
parent dffec37d90
commit bac8c69382
4 changed files with 10 additions and 8 deletions

12
types/weather.go Normal file
View 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"`
}