Skip to content

Optimize package perf/json #206

Optimize package perf/json

Optimize package perf/json #206

Triggered via push November 17, 2023 08:23
Status Failure
Total duration 6m 0s
Artifacts

ci.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 7 warnings
Lint: easy/ezmap/map_test.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/jxskiss/gopkg) (gci)
Lint: easy/slices_test.go#L106
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/jxskiss/gopkg) (gci)
Lint: easy/slices_test.go#L119
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/jxskiss/gopkg) (gci)
Lint: go.mod#L33
a comment is mandatory to explain why the version has been retracted (gomoddirectives)
Lint: unsafe/monkey/internal/tool/caller.go#L65
assigned to packageName, but reassigned without using the value (wastedassign)
Lint: exp/kvutil/model_cache_test.go#L56
assigned to modelIntMap, but reassigned without using the value (wastedassign)
Lint: exp/kvutil/model_cache_test.go#L57
assigned to modelStrMap, but reassigned without using the value (wastedassign)
Lint: exp/kvutil/model_cache_test.go#L122
assigned to modelMap, but reassigned without using the value (wastedassign)
Lint: exp/kvutil/model_cache_test.go#L129
assigned to err, but reassigned without using the value (wastedassign)
Lint: exp/kvutil/model_cache_test.go#L172
assigned to modelMap, but reassigned without using the value (wastedassign)
Test (windows-latest, 1.19)
Process completed with exit code 1.
Lint: confr/loader.go#L149
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: zlog/logger.go#L86
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zlog/global.go#L137
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: zlog/logfmt_encoder.go#L66
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zlog/logger.go#L88
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zlog/logfmt_encoder.go#L144
unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
Lint: zlog/logger.go#L90
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)