Help us shape the future of Go! Take the 2026 Go Developer Survey

random

package module
v0.0.0-...-82b56d8 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandInt

func RandInt(n int) int

Number ********************************************************************** * Create a random int of length n *****************************************************************************

func StringBytes

func StringBytes(n int) string

StringBytes ***************************************************************** * Create a random string of length n *****************************************************************************

func StringInt

func StringInt(n int) string

***************************************************************************** ** RandStringInt ** Create a random string of length n (only numbers) *****************************************************************************

func TokenBytes

func TokenBytes(n int) string

TokenBytes ****************************************************************** * Get a random token *****************************************************************************

Types

This section is empty.

Jump to

Keyboard shortcuts

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