random

package
v0.0.0-...-9f60fe2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomAdjectiveNounTriplet

func GenerateRandomAdjectiveNounTriplet() string

func GenerateRandomEmoji

func GenerateRandomEmoji() string

func GenerateRandomLower

func GenerateRandomLower(n int) string

GenerateRandomLower creates a string of n length that is entirely lowercase letters and numbers. It's considered 'safe' because the alphabet has vowels removed so that we cannot accidentally generate swear words.

func GenerateRandomPhrase

func GenerateRandomPhrase(numWords int, separator string) string

func GenerateRandomString

func GenerateRandomString(n int) (string, error)

func GenerateRandomWord

func GenerateRandomWord() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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