package
Version:
v0.0.0-...-ba3cf3f
Opens a new window with list of versions in this module.
Published: Jan 17, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ComputeHash computes hash for passed struct using default Serialize function
func ComputeHashWithSerialize(object interface{}, serialize func(object interface{}) ([]byte, error)) (string, error)
ComputeHashWithSerialize computes hash based on passed struct
before computing hash, serializes object using provided function
func Serialize(object interface{}) ([]byte, error)
Serialize serializes passed struct to bytes using GOB
Source Files
¶
Click to show internal directories.
Click to hide internal directories.