grand

package
v0.0.0-...-3e416e1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntString

func IntString(length int) string

IntString returns the length random string only contains number and starts with no zero. If length is 1, it returns 0-9 randomly, if length is 0, it returns empty.

func New

func New() *rand.Rand

New returns a new rand.Rand object of safe source.

func String

func String(length int) string

String returns the length random string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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