Funny name generator based on docker namesgenerator but with some additions
Package namegen is a name generator util for golang that generates funny names like hungry_chaplygin
with cmd command support (see installation section)
package main
import (
"fmt"
"math/rand"
"time"
"github.com/rb-go/namegen"
)
func main() {
rand.Seed(time.Now().UnixNano())
fmt.Println(namegen.GetName(0))
}
You can install binary namegen
to get names in command line
Example:
namegen -retries=1
or just call namegen
binary to get new name.
if retries
flag is non-zero, a random integer between 0 and 10 will be added to the end of the name, e.g 'focused_turing3'
go install github.com/rb-go/namegen/cmd/namegen@latest
Check releases page to get latest binary for many platforms
Pull request are welcome :)
But follow with rules:
left
- must be an adjectiveright
- must be the last name of a famous scientist or person associated with IT. Political figures are not allowed!
- Based on moby/moby namesgenerator source code