From d175a6086042cc8534e011a9aac63addb7a4d52e Mon Sep 17 00:00:00 2001 From: Erfan Date: Tue, 3 Oct 2023 23:09:37 +0330 Subject: [PATCH] fix: removed StringToBytes and BytesToString functions --- utils/random.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/random.go b/utils/random.go index cb8f9e0..18a5c1e 100644 --- a/utils/random.go +++ b/utils/random.go @@ -13,11 +13,3 @@ func GenerateRandomNumber(min, max int) (int, error) { return int(n.Int64()) + min, nil } - -func BytesToString(data []byte) string { - return string(data) -} - -func StringToBytes(s string) []byte { - return []byte(s) -}