stringhash

package module
v0.0.0-...-b2bd624 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package stringhash computes fast hash of the given string.

See https://www.npmjs.com/package/string-hash.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(str string) uint32

Hash returns hash of the string

Example
package main

import (
	"fmt"

	"github.com/ram-nad/go-utils/stringhash"
)

func main() {
	hash := stringhash.Hash("Hello")
	_, _ = fmt.Println(hash)
}
Output:
181379975

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL