Help us shape the future of Go! Take the 2026 Go Developer Survey

randid

package
v0.65.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package randid provides random ID generation utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(length int) string

Generate creates a random alphanumeric ID of the specified length.

func UUIDv7 added in v0.62.0

func UUIDv7() string

UUIDv7 creates a time-ordered UUID and panics if the system random source fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL