Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
fix: removed StringToBytes and BytesToString functions (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErfanTech authored Oct 3, 2023
1 parent 9a9b2f4 commit 9de1377
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utils/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9de1377

Please sign in to comment.