Get the latest tech news

Go 1.24's go tool is one of the best additions to the ecosystem in years


Why I'm very excited about `go tool` landing in Go 1.24.

Sometimes this will a dependency that's needed for go generate ing, or it may be that you want to pipe your go test output into a JUnit-compatible format, so your CI platform can provide more useful metadata. This was something we worked on for oapi-codegen's v2 release to further reduce unnecessary dependencies, and make things a bit cleaner for our consumers. I'm a big fan of the fact that as of Go 1.24+ the go run s will be cached, so even if you don't move over to go tool, you'll get a performance boost!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of years

years

Photo of tool

tool

Photo of ecosystem

ecosystem

Related news:

News photo

Apple Announced the iPad 15 Years Ago Today

News photo

Austin rents have fallen for nearly two years. Here's why

News photo

100 years of Bell Labs [pdf]