NameGenerator is a Golang package that provides a simple yet powerful tool for generating human-readable and pronounceable random names. The names are generated by namegenerator.py from https://www.cs.cmu.edu/ dataset.
go get github.com/0x6flab/namegenerator
package main
import (
"fmt"
"github.com/0x6flab/namegenerator"
)
func main() {
generator := namegenerator.NewGenerator()
// Generate a random name
name := generator.Generate()
// Print the name
fmt.Println(name)
}
See examples directory for more examples.
This project is licensed under the Apache-2.0 LICENSE - see the LICENSE file for details.