lorem

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

README

lorem

go package for random stuff generation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashString

func HashString(source string) string

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.

Jump to

Keyboard shortcuts

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