Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 842 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 842 Bytes

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)