humanhash library
Human-readable ID generator.
Adapted from Docker's name generator: https://github.com/docker/docker/blob/master/pkg/namesgenerator/names-generator.go
Functions
-
getRandomName(
[bool withInteger = false]) → String -
GetRandomName generates a random name from the list of adjectives and
surnames in this package formatted as "adjective_surname". For example
'focused_turing'. If withInteger is true, a random integer between 0 and 10
will be added to the end of the name, e.g
focused_turing3