Skip to content

refactor: replace HasPrefix+TrimPrefix with CutPrefix#26

Open
findnature wants to merge 1 commit intoTrueBlocks:mainfrom
findnature:main
Open

refactor: replace HasPrefix+TrimPrefix with CutPrefix#26
findnature wants to merge 1 commit intoTrueBlocks:mainfrom
findnature:main

Conversation

@findnature
Copy link

Optimize code using a more modern writing style. Official support from Go, for more details visit https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize.

Signed-off-by: findnature <cricis@aliyun.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant