typerat / words

Create random combinations of adjectives and animals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

words

import "github.com/typerat/words"

Package words generates word combinations consisting of an adjective describing an animal. It is useful for creating human-readable strings to identify versions of a program (as in the Ubuntu naming scheme).

Usage

func Get

func Get(input interface{}) string

Get returns pseudorandom words for a given input.

func Random

func Random() string

Random returns almost true random words.

func RandomAdjective

func RandomAdjective() string

RandomAdjective returns a random adjective. Use the adjective to describe any noun devoid of a description.

About

Create random combinations of adjectives and animals.

License:MIT License


Languages

Language:Go 100.0%