Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashString ¶
func RandomName ¶
func RandomName() string
GetRandomName generates a random name from the list of adjectives and surnames in this package formatted as "adjective-surname". For example 'focused-turing'.
func RandomNameIter ¶
func RandomNameIter() chan string
RandomNameIter will ensure uniqueness of returned values. It's a caller responsibility to close the channel if needed.
func ULID ¶
func ULID() string
ULID see https://github.com/ulid/spec for format details NOTE: Not battle-tested yet, use with caution.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.