hash

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: BSD-3-Clause Imports: 1 Imported by: 4

Documentation

Overview

Package hash implements a deep hash mechanism so that arbitrary types can be used as a key in hash maps

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepDiff added in v0.3.0

func DeepDiff(lSrc, rSrc interface{}) []string

DeepDiff returns a list of differences between lSrc and rSrc

Types

type Hash

type Hash uint64

Hash stores the hash of a source object

func DeepHash

func DeepHash(src interface{}) Hash

DeepHash walks the src parameter and produces a hash

Jump to

Keyboard shortcuts

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