refactor: rename variable 'h' to 'hub' for clarity in main.go and upd… #1802
check-go-task.yml
on: push
run-determination
0s
Matrix: check-config
Matrix: check-errors
Matrix: check-formatting
Matrix: check-outdated
Matrix: check-style
Annotations
9 errors
check-style (./):
hub.go#L55
exported function NewHub should have comment or be unexported
|
check-style (./):
hub.go#L55
exported func NewHub returns unexported type *main.hub, which can be annoying to use
|
check-style (./):
info.go#L44
exported function PauseHandler should have comment or be unexported
|
check-style (./):
serial.go#L41
exported function NewSerialHub should have comment or be unexported
|
check-style (./):
serial.go#L41
exported func NewSerialHub returns unexported type *main.serialhub, which can be annoying to use
|
check-style (./):
serial.go#L56
exported function NewSerialPortList should have comment or be unexported
|
check-style (./):
update.go#L38
exported function UpdateHandler should have comment or be unexported
|
check-style (./):
config/config.go#L146
exported function GetConfigPath should have comment or be unexported
|
check-style (./)
Process completed with exit code 201.
|