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 ¶ func Bytes(seed maphash.Seed, b []byte) uint64 func MakeSeed() maphash.Seed func String(seed maphash.Seed, s string) uint64 type Seed 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 ... Source Files ¶ View all Source files maphash.go Click to show internal directories. Click to hide internal directories.