random

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base32

func Base32(n int) string

Base-32 encoded random identifier of the given length.

func Bytes

func Bytes(n int) []byte

Bytes reads n random bytes.

func Hex

func Hex(n int) string

Hex encoded random identifier of the given length.

func UUID

func UUID() string

UUID returns a globally unique random identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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