tcpstat #788
Annotations
10 errors and 1 warning
lint:
core/econf/conf_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
lint:
core/econf/options_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
lint:
core/eerrors/errors_test.go#L37
Error return value of `errUnknown.WithMd` is not checked (errcheck)
|
lint:
core/eerrors/errors_test.go#L39
Error return value of `errUnknown.WithMsg` is not checked (errcheck)
|
lint:
core/eerrors/errors_test.go#L33
unusedresult: result of (*github.com/gotomicro/ego/core/eerrors.EgoError).Error call not used (govet)
|
lint:
core/eerrors/errors_test.go#L45
unusedresult: result of (*github.com/gotomicro/ego/core/eerrors.EgoError).String call not used (govet)
|
lint:
core/transport/transport.go#L46
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
lint:
core/etrace/trace_test.go#L14
SA4017: CustomTag doesn't have side effects and its return value is ignored (staticcheck)
|
lint:
core/elog/component_test.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
lint:
core/esentinel/component_test.go#L15
Error return value is not checked (errcheck)
|
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/.
|