1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #35289 from zuiurs/namesgeneratorCmd

Fix a names-generator binary
This commit is contained in:
Yong Tang 2017-10-28 13:16:33 -07:00 committed by GitHub
commit e8730d052e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,13 @@ package main
import (
"fmt"
"math/rand"
"time"
"github.com/docker/docker/pkg/namesgenerator"
)
func main() {
rand.Seed(time.Now().UnixNano())
fmt.Println(namesgenerator.GetRandomName(0))
}