From 32ac5c6c67813553c0b3fd3d6db9975fcf3d92c0 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Wed, 6 Jan 2021 15:10:13 +0100 Subject: [PATCH] =?UTF-8?q?int=20zu=20float=20f=C3=BCr=20schnee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/WeatherStruct.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/WeatherStruct.go b/src/client/WeatherStruct.go index a69e72e..fca8db5 100644 --- a/src/client/WeatherStruct.go +++ b/src/client/WeatherStruct.go @@ -54,8 +54,8 @@ type Rain struct { } type Snow struct { - OneHour int `json:"1h,omitempty"` - ThreeHours int `json:"3h,omitempty"` + OneHour float32 `json:"1h,omitempty"` + ThreeHours float32 `json:"3h,omitempty"` } type System struct {