rand

package
v0.106.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rand implements random value functions.

Index

Constants

This section is empty.

Variables

View Source
var AlphanumReader = new(alphanumReader)

AlphanumReader is a global, shared instance of a random generator of alpha-numeric characters.

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