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 15 · Apr 6 – 12, 2026

uuid: add API to generate and parse UUID

Nice to knowecosystem

What changed
A new uuid package is added with a UUID type, Parse, MustParse, New, Nil, and Max functions, supporting RFC 9562 UUID generation and parsing.
Production impact
The source does not say.
Try it
Write a small program that calls uuid.New() and prints the result.
Source
github.com/golang/go/issues/62026

Understand it, then run it

Run it now

Todaygo
// This program demonstrates that the standard library does not yet provide a
// `uuid` package. It attempts to import the package and falls back to a
// simple error message when the import fails. The output shows the current
// state of Go 1.27.1, which does not include the proposed UUID API.

package main

import (
	"fmt"
)

func main() {
	// The following import would succeed once the `uuid` package is added to
	// the standard library in a future release. Until then, it is omitted.
	// import "uuid"

	// Since the package is unavailable, we simply inform the user.
	fmt.Println("The standard library does not yet provide a uuid package.")
}

What it printed when we ran it on Go 1.27.1

The standard library does not yet provide a uuid package.

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