maphash

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

maphash wraps std hash/maphash for working with go1.18 which doesn't has Bytes, String functions TODO: use hash/maphash directly if we no longer support go1.18

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(seed maphash.Seed, b []byte) uint64

Bytes ...

func MakeSeed

func MakeSeed() maphash.Seed

MakeSeed ...

func String

func String(seed maphash.Seed, s string) uint64

String ...

Types

type Seed

type Seed = maphash.Seed

Seed ...

Jump to

Keyboard shortcuts

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