enData

package
Version: v0.0.0-...-dc49e89 Latest Latest
Warning

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

Go to latest
Published: May 16, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CityPrefix

func CityPrefix() string

CityPrefix returns a single random city prefix value from the array. Possible values include North, East, West, South, New, Lake, and Port.

func CitySuffix

func CitySuffix() string

CitySuffix returns a single random city suffix value from the array. Possible values include town, ton, land, ville, berg, burgh, borough, bury, view, port, mouth, stad, furt, chester, mouth, fort, haven, side, and shire.

func CitySuffixes

func CitySuffixes() []string

CitySuffixes returns a slice of possible random city suffix values from the array. Values include: town, ton, land, ville, berg, burgh, borough, bury, view, port, mouth, stad, furt, chester, mouth, fort, haven, side, and shire.

func CityTemplate

func CityTemplate() string

CityTemplate returns a single string which can be parsed as a template such as text/template or html/template. Responses will be in one of the following formats: 1. {{- .Prefix }} {{.FirstName -}}{{ .Suffix -}} 2. {{- .Prefix }} {{ .FirstName -}} 3. {{- .FirstName }}{{ .Suffix -}} 4. {{- .LastName}}{{ .Suffix -}}

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL