random_utils

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOWER  = "abcdefghijklmnopqrstuvwxyz"
	UPPER  = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	DIGITS = "0123456789"
	ALL    = LOWER + UPPER + DIGITS
)

Variables

This section is empty.

Functions

func RandomBool

func RandomBool() bool

func RandomInt

func RandomInt(min int, max int) int

func RandomPassword

func RandomPassword() (string, error)

func RandomString

func RandomString(length int, chars string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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