Skip to content

About

Generate Random Names.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

go-random-name-gen

Generate Random Names for Go.

Usage

GenerateName(amountOfAdjectives, amountOfNouns, placesForRandomNumber)

Use like this:

import (
  nameGen "github.com/alternaDev/go-random-name-gen"
)

name, err := nameGen.GenerateName(1, 1, 3) // => DreadfulJoe091

You can also include custom file arguments (but make sure you include them when deploying!): GenerateName(amountOfAdjectives, amountOfNouns, placesForRandomNumber, pathToAdjectiveFile, pathToNounFile)

Development

After adding new Adjectives or Nouns, please run go generate so they will get included.

About

Generate Random Names.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages