From d8a632064b7dd4cce9444213fdd92cf8ef529c6e Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Thu, 15 Apr 2021 12:37:17 -0700 Subject: [PATCH] removed dead code Signed-off-by: Sam Alba --- dagger/utils.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 dagger/utils.go diff --git a/dagger/utils.go b/dagger/utils.go deleted file mode 100644 index 211516c8..00000000 --- a/dagger/utils.go +++ /dev/null @@ -1,15 +0,0 @@ -package dagger - -import ( - "crypto/rand" - "fmt" -) - -func randomID(size int) (string, error) { - b := make([]byte, size) - _, err := rand.Read(b) - if err != nil { - return "", err - } - return fmt.Sprintf("%x", b), nil -}