Factor out gnmitestutil to allow dependency on ygnmi package. #512
go.yml
on: pull_request
go
/
Static Analysis
57s
go
/
staticcheck
6s
generate
31s
Matrix: go / Build and Test
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
|