random

package
v0.0.0-...-6437ab6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Uint32

func Uint32() (uint32, error)

func Uint64

func Uint64() (uint64, error)

Types

type ErrFailedToGenerate

type ErrFailedToGenerate struct {
	Op  string // Operation that failed
	Err error  // Underlying error
}

ErrFailedToGenerate is returned when random number generation fails

func (*ErrFailedToGenerate) Error

func (e *ErrFailedToGenerate) Error() string

Error implements the error interface

Jump to

Keyboard shortcuts

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