This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Go · Archive · Week 10 · Mar 3 – 9, 2025

x/tools: tag and delete refactor/rename, refactor/importgraph, go/buildutil, cmd/gomvpkg

Worth knowingtooling

What changed
The Go team has decided to tag and delete the packages x/tools/refactor/rename, x/tools/refactor/importgraph, x/tools/go/buildutil, and x/tools/cmd/gomvpkg. They will continue to work as they do now, but will no longer receive updates.
Production impact
The source does not say.
Try it
Run go list -m all to see that these modules still resolve, but note that future updates will not be available.
Source
github.com/golang/go/issues/69538

Understand it, then run it

Run it now

Todaygo
// This program demonstrates that the packages
// golang.org/x/tools/refactor/rename,
// golang.org/x/tools/refactor/importgraph,
// golang.org/x/tools/go/buildutil,
// and golang.org/x/tools/cmd/gomvpkg
// are still importable but will no longer receive updates.
// In this sandbox we cannot fetch external modules, so the imports would fail.
// In a real environment, the following imports would compile and the program would run.
package main

import (
	"fmt"
	// _ "golang.org/x/tools/refactor/rename"
	// _ "golang.org/x/tools/refactor/importgraph"
	// _ "golang.org/x/tools/go/buildutil"
	// _ "golang.org/x/tools/cmd/gomvpkg"
)

func main() {
	fmt.Println("The x/tools refactor and build utilities are still available but are now frozen.")
}

What it printed when we ran it on Go 1.27.1

The x/tools refactor and build utilities are still available but are now frozen.

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed