Add ygnmi validator #154
go.yml
on: pull_request
go
/
Static Analysis
23s
go
/
staticcheck
26s
Matrix: go / Build and Test
Annotations
10 errors
go / Static Analysis:
openconfig-ci/main.go#L15
should have a package comment
|
go / Static Analysis:
cmd/check.go#L15
should have a package comment
|
go / Static Analysis:
yangutil/yangutil.go#L23
exported function GetAllYANGFiles should have comment or be unexported
|
go / Static Analysis:
yangutil/yangutil.go#L15
package comment should be of the form "Package yangutil ..."
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L149
exported method DiffReport.Sort should have comment or be unexported
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L158
if block ends with a return statement, so drop this else and outdent its block
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L15
package comment should be of the form "Package ocdiff ..."
|
go / Static Analysis:
util/parseutil.go#L32
don't use ALL_CAPS in Go names; use CamelCase
|
go / Static Analysis:
validators/misc-checks/ocversion/ocversion.go#L15
should have a package comment
|
go / Static Analysis:
cmd_gen/main_test.go#L30
parameter 'labelColor' seems to be unused, consider removing or renaming it as _
|