rand

package
v0.0.0-...-14c708c Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(min int, max int) int

Int returns a random integer in range [min, max].

func Ints

func Ints(from, to, size int) []int

Ints returns a random integer array with the specified from, to and size.

func String

func String(length int) string

String returns a random string ['a', 'z'] and ['0', '9'] in the specified length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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