From baedbeb469abf4d9ae493f329e2177ad422886cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Wed, 2 Oct 2024 19:21:17 +0200 Subject: [PATCH] docs: Add comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim HĂ„rek Andreassen --- yr/yr.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yr/yr.go b/yr/yr.go index 292749b..b3fb070 100644 --- a/yr/yr.go +++ b/yr/yr.go @@ -66,9 +66,9 @@ func windDirection(d float64) string { type NowForecast struct { nominatim.LookupResult - Temperature float64 `json:"temperature"` - Percipitation float64 `json:"percipitation"` - Wind wind `json:"wind"` + Temperature float64 `json:"temperature"` // In celsius + Percipitation float64 `json:"percipitation"` // In mm + Wind wind `json:"wind"` // In m/s } func (c *Client) Now(q string) (*NowForecast, error) {