Skip to content

feat: 优化生成随机字符串 (#154) #713

feat: 优化生成随机字符串 (#154)

feat: 优化生成随机字符串 (#154) #713

Triggered via push January 31, 2024 01:57
Status Success
Total duration 2m 46s
Artifacts

go.yml

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

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.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: 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: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
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/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
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
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: 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: 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: dump/dumper_test.go#L426
parameter 't' seems to be unused, consider removing or renaming it as _
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/.
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/.