Skip to content

go: upgrade to Go 1.26 and modernize#87

Closed
ggilmore wants to merge 1 commit into
masterfrom
go-fix-modernize--270b1737-ed47-45a7-86f7-80feb79e95f9
Closed

go: upgrade to Go 1.26 and modernize#87
ggilmore wants to merge 1 commit into
masterfrom
go-fix-modernize--270b1737-ed47-45a7-86f7-80feb79e95f9

Conversation

@ggilmore

Copy link
Copy Markdown

Upgrades this repository to the latest Go 1.26 release (go1.26.4) across its build,
CI, and release configuration, then runs go fix ./... twice (Go 1.26's analyzer-based
modernizers) to apply safe, automatic modernizations enabled by the new language version.

Generated this change with a Sourcegraph batch change.

Created by Sourcegraph agentic batch change.

Comment thread go.mod
module github.com/sourcegraph/go-diff

go 1.20
go 1.26.4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this forces consumer of this library to be on this version. I'd prefer supporting at most 1.24 if it provides improvements that actually are worth it. Otherwise we can use toolchain in our go.mod to use a newer version I think?

@ggilmore ggilmore closed this Jul 2, 2026
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