docs: Add comments

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-02 19:21:17 +02:00
parent 0faf0f2cf5
commit baedbeb469
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5

View file

@ -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) {