Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/helper/text/random.go')
-rw-r--r--internal/helper/text/random.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/helper/text/random.go b/internal/helper/text/random.go
index 5b9f9a714..3f5641660 100644
--- a/internal/helper/text/random.go
+++ b/internal/helper/text/random.go
@@ -6,7 +6,7 @@ import (
"io"
)
-// RandomHex returns an n-byte hexademical random string.
+// RandomHex returns an n-byte hexadecimal random string.
func RandomHex(n int) (string, error) {
buf := make([]byte, n)
if _, err := io.ReadFull(rand.Reader, buf); err != nil {