From 347a85787b74b8c5c4406f40f4ae78d9d9c1f713 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 4 Feb 2022 10:37:19 +0100 Subject: [PATCH] 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 --- pkg/namesgenerator/cmd/names-generator/main.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 pkg/namesgenerator/cmd/names-generator/main.go diff --git a/pkg/namesgenerator/cmd/names-generator/main.go b/pkg/namesgenerator/cmd/names-generator/main.go deleted file mode 100644 index 7fd5955beb..0000000000 --- a/pkg/namesgenerator/cmd/names-generator/main.go +++ /dev/null @@ -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)) -}