random

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hex

func Hex(l int64) string

Hex creates l long random string encoded in hex. Uses crypto/rand

func String added in v1.2.0

func String(length int, chars Chars) string

Types

type Chars added in v1.2.0

type Chars int
const (
	AlphaLarge Chars = 1 << iota
	AlphaSmall
	ZeroNine
)

Jump to

Keyboard shortcuts

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