A whimsical library for generating phrases in Go.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
main.go
main_test.go

README.md

Whimsy

A simple Go library for generating phrases.

go get github.com/johncoder/whimsy

Example:

package main

import (
	"fmt"

	"github.com/johncoder/whimsy"
)

func main() {
	fmt.Prinln("A phrase of 4 words:")
	fmt.Println(whimsy.NewPhrase(4))
}

Output:

A phrase of 4 words:
gopher death punch shampoo