Skip to content

Commit

Permalink
style: disable gosec lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gabotechs committed Dec 25, 2023
1 parent 13472ab commit d5748d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/utils/hash.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package utils

import (
"crypto/md5"
"crypto/md5" //nolint:gosec
"fmt"
)

func hash(text string) string {
return fmt.Sprintf("%x", md5.Sum([]byte(text)))
return fmt.Sprintf("%x", md5.Sum([]byte(text))) //nolint:gosec
}

var Hash = Cached(hash)

0 comments on commit d5748d2

Please sign in to comment.