codenames

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Adjectives []string

	Nouns []string
)

Functions

func GetCodename

func GetCodename() string

GetCodename - Returns a randomly generated 'codename'

func GetCodenameWithMaxLength added in v0.1.1

func GetCodenameWithMaxLength(maxLength int) string

GetCodenameWithMaxLength - Returns a randomly generated 'codename' with maximum length limit

func RandomAdjective

func RandomAdjective() (string, error)

RandomAdjective - Get a random adjective, not cryptographically secure

func RandomNoun

func RandomNoun() (string, error)

RandomNoun - Get a random noun, not cryptographically secure

func SetupCodenames added in v0.0.2

func SetupCodenames()

Types

This section is empty.

Jump to

Keyboard shortcuts

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