Configure lint in actions, add PR template and dependency updates through renovate #2
Annotations
10 errors
lint:
backends/open-meteo.com.go#L19
field `language` is unused (unused)
|
lint:
backends/worldweatheronline.com.go#L138
S1009: should omit nil check; len() for []struct{Value string} is defined as zero (gosimple)
|
lint:
backends/worldweatheronline.com.go#L185
S1009: should omit nil check; len() for []github.com/schachmat/wego/backends.wwoCond is defined as zero (gosimple)
|
lint:
backends/worldweatheronline.com.go#L353
S1009: should omit nil check; len() for []struct{Msg string} is defined as zero (gosimple)
|
lint:
backends/worldweatheronline.com.go#L362
S1009: should omit nil check; len() for []github.com/schachmat/wego/backends.wwoCond is defined as zero (gosimple)
|
lint:
backends/openweathermap.org.go#L27
structtag: struct field tag `json: "timezone"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
lint:
backends/openweathermap.org.go#L29
structtag: struct field tag `json: "sunrise"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
lint:
backends/openweathermap.org.go#L30
structtag: struct field tag `json: "sunset"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
|
lint:
backends/openweathermap.org.go#L210
SA4022: the address of a variable cannot be nil (staticcheck)
|
lint:
backends/openweathermap.org.go#L214
SA4022: the address of a variable cannot be nil (staticcheck)
|