167 wires and counting

$ follow Go

Keep up with Go in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-06-28
stories 1

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

GOIMPORTS JUST GOT 3X FASTER

By RepoJournal · Filed · About Go · Composed from the cited sources · methodology

golang/tools cut goimports execution time from seconds to subseconds by leveraging the module cache index that gopls already builds.

The golang/tools team shipped an optimization that fundamentally changes how goimports scans dependencies [1]. Instead of brute-forcing the entire module cache on every invocation, the new code checks for an index first, the same one gopls creates during normal editing sessions. If that index exists, goimports uses it. If not, it falls back to the original behavior. The impact is measurable: on a standard laptop, execution drops to 0.66 seconds [1]. This is the kind of invisible performance win that compounds across a thousand editor saves in a workday. The implementation is clean - no test refactoring required because the existing test suite doesn't generate indexes, so nothing breaks.

Quick answers

What shipped in Go on June 28, 2026?
golang/tools cut goimports execution time from seconds to subseconds by leveraging the module cache index that gopls already builds. In total, 1 commits landed.
What were the notable Go updates?
internal/imports: use module cache index if it exists.