فهرست منبع

pkg/namesgenerator: remove names-generator binary

This binary was added in 08006506651498cd8647123daadc7abde37ecb7d, but no motivation,
other than "this could be nice". Searching if it's used by anyone, I found only
two occurrences, both of which were just examples, or indexing results;

- https://github.com/kovetskiy/manul/blob/eae845e40e9657bfd298ef763db110779d4f11e6/tree-examples/docker.txt#L1229
- https://github.com/sourcerer-io/awesome-libraries/blob/8b1e0b89c7630e0e353f5a4c63e8a2e6a2d9e83b/sync/cache/librariesioGoGo.json#L2200

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 3 سال پیش
والد
کامیت
347a85787b
1فایلهای تغییر یافته به همراه0 افزوده شده و 14 حذف شده
  1. 0 14
      pkg/namesgenerator/cmd/names-generator/main.go

+ 0 - 14
pkg/namesgenerator/cmd/names-generator/main.go

@@ -1,14 +0,0 @@
-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))
-}