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 14 · Mar 31 – Apr 6, 2025

x/tools/cmd/auth deleted

Worth knowingtooling

What changed
The golang.org/x/tools/cmd/auth packages are tagged and deleted; their functionality has been integrated into cmd/go/internal/auth.
Production impact
The source does not say.
Try it
Run go get golang.org/x/tools/cmd/auth and observe that the module is no longer available.
Source
github.com/golang/go/issues/70872

Understand it, then run it

The golang.org/x/tools/cmd/auth command has been removed. It used to provide a small helper that handled authentication for Go tools. Its code has been moved into the Go command itself, inside cmd/go/internal/auth. If you were using that external helper, you can now rely on the built‑in support in go.

Run it now

Todaygo
// This program demonstrates that the external auth helper no longer exists.
// It simply prints a message indicating that authentication logic is now
// part of the go command. No network or external packages are used.
package main

import "fmt"

func main() {
    fmt.Println("The golang.org/x/tools/cmd/auth helper has been removed.")
    fmt.Println("Authentication is now handled internally by the go command.")
}

What it printed when we ran it on Go 1.27.1

The golang.org/x/tools/cmd/auth helper has been removed.
Authentication is now handled internally by the go command.

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