Skip to content

Apply go fix - #2

Merged
umputun merged 1 commit into
masterfrom
chore/go-fix-sweep
Aug 19, 2026
Merged

umputun merged 1 commit into
masterfrom
chore/go-fix-sweep

Conversation

@paskal

@paskal paskal commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

go fix ./... under Go 1.26 rewrites the rules-to-string loop in TestParse to build through strings.Builder instead of repeated string concatenation. Test-only change, behaviour is identical and strings.Builder is well within the Go 1.23 baseline in go.mod.

Worth noting that .golangci.yml deliberately excludes staticcheck QF quickfix suggestions and this is the same flavour of change, so if you would rather keep the plain concatenation, this one can be dropped.

Result of `go fix ./...` under Go 1.26: the rules-to-string loop in
TestParse now builds through strings.Builder instead of repeated string
concatenation.
@paskal
paskal requested a review from umputun as a code owner August 19, 2026 01:00
@umputun
umputun merged commit c1bf2e4 into master Aug 19, 2026
4 checks passed
@umputun
umputun deleted the chore/go-fix-sweep branch August 19, 2026 01:53
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