hash

package
v0.0.0-...-ab9d506 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashStr

func HashStr(str string) string

HashStr hashes the provided string

Types

type Hashable

type Hashable interface {
	// Hash returns the hash of a struct's values, along with an error if
	// one occurs.
	Hash() string
}

Hashable wraps the Hash method. Which is used to version structure field values.

Jump to

Keyboard shortcuts

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