Help us shape the future of Go! Take the 2026 Go Developer Survey

codenames

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 6 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