random

package
v0.31.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package random generates identifiers and secrets from a cryptographically secure source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String(n int) (string, error)

String returns a random alphanumeric string of length n.

func UUID

func UUID() string

UUID returns a new random (version 4) UUID in its canonical string form.

Types

This section is empty.

Jump to

Keyboard shortcuts

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