Skip to content

refactor: replace HasSuffix+TrimSuffix with CutSuffix#1111

Merged
0xfornax merged 1 commit into
rocket-pool:masterfrom
taofzen:master
Jun 3, 2026
Merged

refactor: replace HasSuffix+TrimSuffix with CutSuffix#1111
0xfornax merged 1 commit into
rocket-pool:masterfrom
taofzen:master

Conversation

@taofzen
Copy link
Copy Markdown
Contributor

@taofzen taofzen commented Jun 2, 2026

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: taofzen <taofzen@outlook.com>
@0xfornax 0xfornax merged commit b5bd831 into rocket-pool:master Jun 3, 2026
6 checks passed
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.

2 participants