word

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 2 Imported by: 0

README

word

Collection of Latin words and some functions

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Latin = []string{}/* 2342 elements not displayed */

Functions

func AtRandom

func AtRandom(c *Config)

func Word

func Word(minlen int, maxlen int, options ...Option) string

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewCfg

func NewCfg(opts []Option) Config

type Option

type Option func(*Config)

func NoPrefixInDir

func NoPrefixInDir(dir string) Option

func WordNotInMap

func WordNotInMap(values map[string]any) Option

func WordNotInSlice

func WordNotInSlice(values []string) Option

Jump to

Keyboard shortcuts

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