Optimize JSON parsing #432
Annotations
10 errors and 1 warning
golangci-lint:
tokens/tokens_test.go#L64
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
golangci-lint:
tokens/tokens_test.go#L69
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
golangci-lint:
tokens/tokens_test.go#L74
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
golangci-lint:
spec/matrixerror.go#L66
printf: non-constant format string in call to fmt.Errorf (govet)
|
golangci-lint:
spec/matrixerror.go#L234
printf: non-constant format string in call to fmt.Errorf (govet)
|
golangci-lint:
fclient/client.go#L24
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)
|
golangci-lint:
fclient/request.go#L8
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)
|
golangci-lint:
fclient/federationclient_test.go#L8
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)
|
golangci-lint:
fclient/request.go#L186
SA4003: every value of type byte is <= math.MaxUint8 (staticcheck)
|
golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading