Make golangci-lint happy

This commit is contained in:
Winni Neessen 2023-06-23 18:34:25 +02:00
parent a697b13970
commit b779e0f65b
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ type APICurrentWeatherData struct {
// SnowAmount represents the the amount of snow in kg/m3
SnowAmount *APIFloat `json:"snowAmount,omitempty"`
// Temperature represents the temperature in °C
Temperature *APIFloat `json:"temp,omitempty,omitempty"`
Temperature *APIFloat `json:"temp,omitempty"`
// WindDirection represents the direction from which the wind
// originates in degree (0=N, 90=E, 180=S, 270=W)
WindDirection *APIFloat `json:"windDirection,omitempty"`

View file

@ -121,7 +121,7 @@ type Timespan int
// Weather) data and can be wrapped into other types to provide type
// specific receiver methods
type WeatherData struct {
bv bool
// bv bool
dt time.Time
dv time.Time
fv float64