gonic fix #20
Annotations
10 errors and 1 warning
lint:
pkg/opentelemetry/opentelemetry.go#L90
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
|
lint:
pkg/opentelemetry/opentelemetry.go#L15
ST1019: package "go.opentelemetry.io/otel/sdk/trace" is being imported more than once (stylecheck)
|
lint:
pkg/opentelemetry/opentelemetry.go#L16
ST1019(related information): other import of "go.opentelemetry.io/otel/sdk/trace" (stylecheck)
|
lint:
model/db_event.go#L9
ST1003: type DbEvent should be DBEvent (stylecheck)
|
lint:
model/db_event.go#L10
ST1003: struct field Id should be ID (stylecheck)
|
lint:
model/db_event.go#L11
ST1003: should not use underscores in Go names; struct field Op_type should be OpType (stylecheck)
|
lint:
model/db_event.go#L19
ST1003: should not use underscores in Go names; struct field First_time should be FirstTime (stylecheck)
|
lint:
model/db_event.go#L20
ST1003: should not use underscores in Go names; struct field Last_time should be LastTime (stylecheck)
|
lint:
model/db_event.go#L21
ST1003: should not use underscores in Go names; struct field Event_time should be EventTime (stylecheck)
|
lint:
model/db_event.go#L22
ST1003: should not use underscores in Go names; struct field Cluster_name should be ClusterName (stylecheck)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|