Skip to content

0x6flab/namegenerator

namegenerator

Coverage Status Go Report Card Go Reference GitHub GitHub go.mod Go version GitHub repo size Maintainability Continuous Integration

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.

Installation

go get github.com/0x6flab/namegenerator

Usage

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)
}

Examples

See examples directory for more examples.

License

This project is licensed under the Apache-2.0 LICENSE - see the LICENSE file for details.

About

namegenerator is a Golang package that provides a simple yet powerful tool for generating human-readable and pronounceable random names.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published