Initial code quality workflows #3
Annotations
22 warnings
test (1.22.x, ubuntu-latest):
addons/mapping.go#L9
exported var PluginMapping should have comment or be unexported
|
test (1.22.x, ubuntu-latest):
addons/generic/generic.go#L15
should drop = "" from declaration of var pluginOpts; it is the zero value
|
test (1.22.x, ubuntu-latest):
addons/mapping.go#L1
should have a package comment
|
test (1.22.x, ubuntu-latest):
pkg/config/config.go#L17
exported const DefaultUpdateInterval should have comment (or a comment on this block) or be unexported
|
test (1.22.x, ubuntu-latest):
pkg/plugin/plugin.go#L7
exported type New should have comment or be unexported
|
test (1.22.x, ubuntu-latest):
cmd/main.go#L1
should have a package comment
|
test (1.22.x, ubuntu-latest):
pkg/protocol/type.go#L19
exported type GrandmasterSettings should have comment or be unexported
|
test (1.22.x, ubuntu-latest):
pkg/synce/synce.go#L14
exported const QL_DEFAULT_SSM should have comment (or a comment on this block) or be unexported
|
test (1.22.x, ubuntu-latest):
addons/intel/e810.go#L230
should omit type *E810PluginData from declaration of var pluginData; it will be inferred from the right-hand side
|
test (1.22.x, ubuntu-latest):
pkg/pmc/pmc.go#L16
exported var ClockClassChangeRegEx should have comment or be unexported
|
test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/linuxptp-daemon/linuxptp-daemon. Supported file pattern: go.sum
|
test (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/linuxptp-daemon/linuxptp-daemon. Supported file pattern: go.sum
|
test (1.23.x, ubuntu-latest):
addons/generic/generic.go#L15
should drop = "" from declaration of var pluginOpts; it is the zero value
|
test (1.23.x, ubuntu-latest):
pkg/config/config.go#L28
struct field PhcId should be PhcID
|
test (1.23.x, ubuntu-latest):
pkg/plugin/plugin.go#L1
should have a package comment
|
test (1.23.x, ubuntu-latest):
addons/mapping.go#L1
should have a package comment
|
test (1.23.x, ubuntu-latest):
addons/generic/generic.go#L29
should omit type *GenericPluginData from declaration of var pluginData; it will be inferred from the right-hand side
|
test (1.23.x, ubuntu-latest):
pkg/config/config.go#L57
method parameter phcId should be phcID
|
test (1.23.x, ubuntu-latest):
addons/mapping.go#L9
exported var PluginMapping should have comment or be unexported
|
test (1.23.x, ubuntu-latest):
pkg/debug/debug.go#L1
should have a package comment
|
test (1.23.x, ubuntu-latest):
pkg/protocol/type.go#L1
should have a package comment
|
test (1.23.x, ubuntu-latest):
pkg/plugin/plugin.go#L7
exported type New should have comment or be unexported
|