unique

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 3 Imported by: 1

README

unique-names-generator

Tests

Generate random and unique names. This package is a Go implementation javascript module unique-names-generator.

Installation
go get github.com/sibiraj-s/unique-names-generator
Documentation

Go Reference

Godoc site: https://pkg.go.dev/github.com/sibiraj-s/unique-names-generator#section-readme

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Adjectives = []string{}/* 1422 elements not displayed */

Adjectives list

View Source
var Animals = []string{}/* 377 elements not displayed */

Animals list

View Source
var Colors = []string{
	"amaranth",
	"amber",
	"amethyst",
	"apricot",
	"aqua",
	"aquamarine",
	"azure",
	"beige",
	"black",
	"blue",
	"blush",
	"bronze",
	"brown",
	"chocolate",
	"coffee",
	"copper",
	"coral",
	"crimson",
	"cyan",
	"emerald",
	"fuchsia",
	"gold",
	"gray",
	"green",
	"harlequin",
	"indigo",
	"ivory",
	"jade",
	"lavender",
	"lime",
	"magenta",
	"maroon",
	"moccasin",
	"olive",
	"orange",
	"peach",
	"pink",
	"plum",
	"purple",
	"red",
	"rose",
	"salmon",
	"sapphire",
	"scarlet",
	"silver",
	"tan",
	"teal",
	"tomato",
	"turquoise",
	"violet",
	"white",
	"yellow",
}

Colors list

View Source
var Countries = []string{}/* 254 elements not displayed */

Countries list

View Source
var Languages = []string{
	"british",
	"english",
	"irish",
	"turkish",
	"japanese",
	"chinese",
	"korean",
	"palestinian",
	"canadian",
	"australian",
	"asian",
	"african",
	"italian",
	"indian",
	"russian",
	"american",
	"german",
	"european",
	"iraqi",
	"israeli",
	"arab",
	"jewish",
	"scottish",
	"polish",
	"spanish",
	"islamic",
	"catholic",
}

Languages list

View Source
var Names = []string{}/* 4940 elements not displayed */

Names list

View Source
var StarWars = []string{
	"Luke Skywalker",
	"C-3PO",
	"R2-D2",
	"Darth Vader",
	"Leia Organa",
	"Owen Lars",
	"Beru Whitesun lars",
	"R5-D4",
	"Biggs Darklighter",
	"Obi-Wan Kenobi",
	"Anakin Skywalker",
	"Wilhuff Tarkin",
	"Chewbacca",
	"Han Solo",
	"Greedo",
	"Jabba Desilijic Tiure",
	"Wedge Antilles",
	"Jek Tono Porkins",
	"Yoda",
	"Palpatine",
	"Boba Fett",
	"IG-88",
	"Bossk",
	"Lando Calrissian",
	"Lobot",
	"Ackbar",
	"Mon Mothma",
	"Arvel Crynyd",
	"Wicket Systri Warrick",
	"Nien Nunb",
	"Qui-Gon Jinn",
	"Nute Gunray",
	"Finis Valorum",
	"Padmé Amidala",
	"Jar Jar Binks",
	"Roos Tarpals",
	"Rugor Nass",
	"Ric Olié",
	"Watto",
	"Sebulba",
	"Quarsh Panaka",
	"Shmi Skywalker",
	"Darth Maul",
	"Bib Fortuna",
	"Ayla Secura",
	"Ratts Tyerel",
	"Dud Bolt",
	"Gasgano",
	"Ben Quadinaros",
	"Mace Windu",
	"Ki-Adi-Mundi",
	"Kit Fisto",
	"Eeth Koth",
	"Adi Gallia",
	"Saesee Tiin",
	"Yarael Poof",
	"Plo Koon",
	"Mas Amedda",
	"Gregar Typho",
	"Cordé",
	"Cliegg Lars",
	"Poggle the Lesser",
	"Luminara Unduli",
	"Barriss Offee",
	"Dormé",
	"Dooku",
	"Bail Prestor Organa",
	"Jango Fett",
	"Zam Wesell",
	"Dexter Jettster",
	"Lama Su",
	"Taun We",
	"Jocasta Nu",
	"R4-P17",
	"Wat Tambor",
	"San Hill",
	"Shaak Ti",
	"Grievous",
	"Tarfful",
	"Raymus Antilles",
	"Sly Moore",
	"Tion Medon",
}

StarWars list

Functions

func New

func New(o Options) string

New creates random unique names

Types

type Options added in v0.2.0

type Options struct {
	// contains filtered or unexported fields
}

Options is the input argument for Generate function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL