Skip to content

Factor out gnmitestutil to allow dependency on ygnmi package. #512

Factor out gnmitestutil to allow dependency on ygnmi package.

Factor out gnmitestutil to allow dependency on ygnmi package. #512

Triggered via pull request December 3, 2023 01:32
Status Success
Total duration 1m 42s
Artifacts

go.yml

on: pull_request
Matrix: go / Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
go / Static Analysis: internal/gnmitestutil/gnmi.go#L97
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go / Static Analysis: internal/gnmitestutil/gnmi.go#L164
parameter 'opts' seems to be unused, consider removing or renaming it as _
go / Static Analysis: internal/gnmitestutil/gnmi.go#L139
exported type SetClient should have comment or be unexported
go / Static Analysis: internal/gnmitestutil/gnmi.go#L151
exported method SetClient.Reset should have comment or be unexported
go / Static Analysis: internal/gnmitestutil/gnmi.go#L158
exported method SetClient.AddResponse should have comment or be unexported
go / Static Analysis: internal/gnmitestutil/gnmi.go#L164
exported method SetClient.Set should have comment or be unexported
go / Static Analysis: internal/logutil/logutil.go#L1
should have a package comment
go / Static Analysis: internal/testutil/schema.go#L67
don't use underscores in Go names; type UnionLeafType_String should be UnionLeafTypeString
go / Static Analysis: internal/testutil/schema.go#L71
don't use underscores in Go names; method Is_UnionLeafType should be IsUnionLeafType
go / Static Analysis: internal/testutil/schema.go#L73
don't use underscores in Go names; type UnionLeafType_Uint32 should be UnionLeafTypeUint32