Skip to content

go-unique-name-generator allows you to generate random unique names with provided dictionaries

License

Notifications You must be signed in to change notification settings

dillonstreator/go-unique-name-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-unique-name-generator

unique name generator for go with 308,769,760 unique combinations by default

Installation

go get github.com/dillonstreator/go-unique-name-generator

Basic Usage

package main

import (
    "fmt"

    ung "github.com/dillonstreator/go-unique-name-generator"
)

func main() {
    generator := ung.NewUniqueNameGenerator()

    fmt.Println(generator.Generate())
    // "{adjective}_{color}_{name}"

    fmt.Println(generator.UniquenessCount())
    // 308769760
}

Usage continued (examples)

About

go-unique-name-generator allows you to generate random unique names with provided dictionaries

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages