Documentation
¶
Overview ¶
Package random_project_generator generates random project names.
Random names are generated by selecting a random adjective from a list of 1300 adjectives, and a random noun from a list of 870 nouns, giving you over a million possible combinations.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
var Adjectives = []string{}/* 1240 elements not displayed */
Array of adjectives, in alphabetical order, between 3 and 10 letters long.
var Nouns = []string{}/* 838 elements not displayed */
Array of nouns, in alphabetical order, between 3 and 10 letters long.
Functions ¶
func Generate ¶
func Generate() string
Generate finds a random adjective and a random noun and joins them with a hyphen.
Example ¶
// Will print words like "smiling-fold" fmt.Println(Generate())
Output:
func GenerateNumber ¶
GenerateNumber returns a string with an adjective, a noun, and a number with d digits, joined together by hyphens. Each additional digit adds a factor of 9 to the number of possible results that can be generated, so 4 digits will yield roughly 7420491000 different possibilities.
Example ¶
// Will print a string like "viable-action-218" fmt.Println(GenerateNumber(3))
Output:
Types ¶
This section is empty.