pkg/namesgenerator: add a 'names-generator' binary
Signed-off-by: Manfred Touron <m@42.am>
This commit is contained in:
parent
500a314713
commit
0800650665
1 changed files with 11 additions and 0 deletions
11
pkg/namesgenerator/cmd/names-generator/main.go
Normal file
11
pkg/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