From 6ab7a446101ac5b96e6a59d926567c07c2c137b1 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Fri, 31 Jul 2015 13:07:40 +0200 Subject: [PATCH] pkg/namesgenerator: add a 'names-generator' binary Signed-off-by: Manfred Touron --- namesgenerator/cmd/names-generator/main.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 namesgenerator/cmd/names-generator/main.go diff --git a/namesgenerator/cmd/names-generator/main.go b/namesgenerator/cmd/names-generator/main.go new file mode 100644 index 0000000..18a939b --- /dev/null +++ b/namesgenerator/cmd/names-generator/main.go @@ -0,0 +1,11 @@ +package main + +import ( + "fmt" + + "github.com/docker/docker/pkg/namesgenerator" +) + +func main() { + fmt.Println(namesgenerator.GetRandomName(0)) +}