test: add an example for the netpoll package #370
test_poll_opt_gc_opt.yml
on: pull_request
Matrix: Run golangci-lint
Matrix: test
Annotations
6 errors
Run golangci-lint (macos-latest):
pkg/netpoll/example_netpoll_test.go#L82
exitAfterDefer: log.Fatalf will exit, and `defer cancel()` will not run (gocritic)
|
Run golangci-lint (macos-latest):
pkg/netpoll/example_netpoll_test.go#L111
unused-parameter: parameter 'fd' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint (macos-latest):
pkg/netpoll/example_netpoll_test.go#L31
tests: ExampleNetpoll refers to unknown identifier: Netpoll (govet)
|
Run golangci-lint (macos-latest)
issues found
|
Run golangci-lint (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
Run golangci-lint (ubuntu-latest)
The operation was canceled.
|