From ea265a75e4def252ee622d8ec12640ec03c2c16f Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Mon, 29 Jan 2024 21:39:27 +0100 Subject: [PATCH] doc: correct docstring for generate hash --- internal/url/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/url/hash.go b/internal/url/hash.go index 727af53..dafa405 100644 --- a/internal/url/hash.go +++ b/internal/url/hash.go @@ -5,7 +5,7 @@ import ( "strings" ) -// GenerateHash hash the `url` param into a 8 characters base62 using fnv algorithm. +// GenerateHash hash the `url` param into a base62 string using fnv algorithm. func GenerateHash(url string) (string, error) { hasher := fnv.New32a() _, err := hasher.Write([]byte(url))