petname

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package petname generates short, memorable identifiers in the form adjective-animal-hex4 (e.g. "wandering-fox-3a4b"). Used when a worktree is created without a user-chosen name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate() string

Generate returns a fresh petname like "wandering-fox-3a4b". The 4-hex suffix makes collisions vanishingly unlikely without making the name hard to read aloud.

Types

This section is empty.

Jump to

Keyboard shortcuts

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