pkg/namesgenerator: add a 'names-generator' binary
Signed-off-by: Manfred Touron <m@42.am>
This commit is contained in:
parent
b49fc92969
commit
6ab7a44610
1 changed files with 11 additions and 0 deletions
11
namesgenerator/cmd/names-generator/main.go
Normal file
11
namesgenerator/cmd/names-generator/main.go
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
|
"github.com/docker/docker/pkg/namesgenerator"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println(namesgenerator.GetRandomName(0))
|
||||||
|
}
|
Loading…
Reference in a new issue