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

name-generator

command module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 3 Imported by: 0

README

Random name generator

Go Reference

The Yak was shaved.

Build with make .

It has some options:

% name-generator --help
A random name generator

Usage:
  name-generator [flags]

Flags:
  -h, --help               help for name-generator
  -n, --number int         Number of names to generate (default 1)
  -r, --random             Append a random 6 digit number
  -s, --separator string   Separator to use between words (default "-")
  -t, --types strings      Types to include (default [colours,dogs])

Adding more words

Drop a file in lib/data , format is one per line, file must end with .txt .

Yak shaver hall of shame

Made with contrib.rocks.

Documentation

Overview

Random name generator

Build with `make` .

It has some options:

``` % name-generator --help A random name generator

Usage:

name-generator [flags]

Flags:

-h, --help               help for name-generator
-n, --number int         Number of names to generate (default 1)
-r, --random             Append a random 6 digit number
-s, --separator string   Separator to use between words (default "-")
-t, --types strings      Types to include (default [colours,dogs])

```

## Adding more words

Drop a file in [ `lib/data` ](lib/data) , format is one per line, file must end with `.txt` .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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