优化生成随机字符串 #712
Annotations
14 warnings
Test on go 1.19 and ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shogo82148/actions-goveralls@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test on go 1.21 and ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shogo82148/actions-goveralls@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test on go 1.20 and ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shogo82148/actions-goveralls@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L363
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L216
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L367
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
dump/dumper_test.go#L426
parameter 't' seems to be unused, consider removing or renaming it as _
|
Test on go 1.20 and ubuntu-latest:
strutil/random.go#L66
var letterIdBits should be letterIDBits
|
Test on go 1.20 and ubuntu-latest:
strutil/check.go#L293
if block ends with a return statement, so drop this else and outdent its block
|
Test on go 1.20 and ubuntu-latest:
strutil/convbase.go#L58
should drop = 0 from declaration of var dec; it is the zero value
|
Test on go 1.20 and ubuntu-latest:
strutil/random.go#L70
var letterIdMax should be letterIDMax
|
Test on go 1.20 and ubuntu-latest:
strutil/random.go#L68
var letterIdMask should be letterIDMask
|
finish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shogo82148/actions-goveralls@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|