rand

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rand implements function for randomized content.

Index

Constants

This section is empty.

Variables

View Source
var AlphanumReader = alphanum{}

AlphanumReader is a global shared instance of an alphanumeric character random generator.

Functions

func AlphanumString added in v0.105.3

func AlphanumString(n int) string

AlphanumString returns a random string of alphanumeric characters and panics if crypto random reader returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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