github.com/ttys3/engine@v17.12.1-ce-rc2+incompatible/pkg/namesgenerator/cmd/names-generator/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"math/rand"
     6  	"time"
     7  
     8  	"github.com/docker/docker/pkg/namesgenerator"
     9  )
    10  
    11  func main() {
    12  	rand.Seed(time.Now().UnixNano())
    13  	fmt.Println(namesgenerator.GetRandomName(0))
    14  }