✨ Better log viewer in launchpad
This commit is contained in:
9
pkg/shared/hash/mod.go
Normal file
9
pkg/shared/hash/mod.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package hash
|
||||
|
||||
import "hash/fnv"
|
||||
|
||||
func Hash(s string) uint32 {
|
||||
h := fnv.New32a()
|
||||
h.Write([]byte(s))
|
||||
return h.Sum32()
|
||||
}
|
||||
Reference in New Issue
Block a user