package namesgenerator

import "github.com/dotcloud/docker/pkg/namesgenerator"

Index

Functions

func GetRandomName

func GetRandomName(retry int) string

GetRandomName generates a random name from the list of adjectives and surnames in this package formatted as "adjective_surname". For example 'focused_turing'. If retry is non-zero, a random integer between 0 and 10 will be added to the end of the name, e.g `focused_turing3`

Source Files

names-generator.go

Version
v1.8.1
Published
Aug 13, 2015
Platform
js/wasm
Imports
3 packages
Last checked
49 minutes ago

Tools for package owners.