gobbledygook

package module
v0.0.0-...-65c9aa2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 3 Imported by: 0

README

gobbledygook

Generate random nonsense.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWords

func InitWords() error

InitWords reads in the system dictionary from /usr/share/dict/words. It must called before calling either Word or Words.

func Word

func Word() string

Word returns a random word from the dictionary.

It panics if called before InitWords().

func Words

func Words(n int) []string

Words returns n random words from the dictionary.

It panics if called before InitWords().

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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