From 9de13774fd35c3b59310b0d7d1020a84a9fa1fca Mon Sep 17 00:00:00 2001 From: "Mohammadi, Erfan" <108360299+ErfanTech@users.noreply.github.com> Date: Tue, 3 Oct 2023 23:16:27 +0330 Subject: [PATCH] fix: removed StringToBytes and BytesToString functions (#45) --- 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) -}