xkcdgen

package
v1.15.13 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Random

func Random() string

Random returns a random passphrase combined from four words.

func RandomLength

func RandomLength(length int, lang string) (string, error)

RandomLength returns a random passphrase combined from the desired number. of words. Words are drawn from lang.

func RandomLengthDelim

func RandomLengthDelim(length int, delim, lang string, capitalize, numbers bool) (string, error)

RandomLengthDelim returns a random passphrase combined from the desired number of words and the given delimiter. Words are drawn from lang.

Types

This section is empty.

Jump to

Keyboard shortcuts

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