test: add an example for the netpoll package #370
Annotations
4 errors
Setup and run golangci-lint:
pkg/netpoll/example_netpoll_test.go#L82
exitAfterDefer: log.Fatalf will exit, and `defer cancel()` will not run (gocritic)
|
Setup and run golangci-lint:
pkg/netpoll/example_netpoll_test.go#L111
unused-parameter: parameter 'fd' seems to be unused, consider removing or renaming it as _ (revive)
|
Setup and run golangci-lint:
pkg/netpoll/example_netpoll_test.go#L31
tests: ExampleNetpoll refers to unknown identifier: Netpoll (govet)
|
Setup and run golangci-lint
issues found
|
Loading