Skip to content

Improve tests coverage and use better code layout. #7

Improve tests coverage and use better code layout.

Improve tests coverage and use better code layout. #7

Triggered via push October 29, 2023 18:24
Status Failure
Total duration 1m 42s
Artifacts

analysis.yml

on: push
static_analysis
1m 34s
static_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
static_analysis: rpi_poe_fan.go#L1
package comment should be of the form "Package rpipoefan ..."
static_analysis: cmd/htmx-fan/html.go#L17
exported function NewEngine should have comment or be unexported
static_analysis: cmd/htmx-fan/html.go#L31
exported function InstantiateTemplate should have comment or be unexported
static_analysis: cmd/htmx-fan/html.go#L40
exported function ServeDynamicPage should have comment or be unexported
static_analysis: cmd/htmx-fan/html.go#L91
exported function ServeStaticFile should have comment or be unexported
static_analysis: cmd/htmx-fan/main.go#L88
context.Context should be the first parameter of a function
static_analysis: cmd/htmx-fan/subscribe.go#L109
struct field Id should be ID
static_analysis: cmd/htmx-fan/systemd.go#L11
context.Context should be the first parameter of a function
static_analysis: cmd/htmx-fan/systemd.go#L33
context.Context should be the first parameter of a function
static_analysis: pkg/cpu/cpu.go#L5
exported type Temp should have comment or be unexported