go-fix

1 article
sort: new top best
clear filter
0 2/10

Go 1.26 introduces a source-level inliner feature in the go fix command that enables API migrations and deprecations by automatically inlining function calls marked with //go:fix inline directives. The inliner, originally developed for gopls refactoring tools, can replace deprecated function calls with their new counterparts while handling complex correctness issues.

Go 1.26 Alan Donovan gopls ioutil.ReadFile os.ReadFile gofmt Google
go.dev · darccio · 2 days ago · details · hn