Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 653 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 653 Bytes

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.