Versions in this module Expand all Collapse all v1 v1.0.0 May 27, 2024 Changes in this version + func Hash(v interface{}, format Format, opts *HashOptions) ([]byte, error) + type ErrFormat struct + func (*ErrFormat) Error() string + type ErrNotStringer struct + Field string + func (ens *ErrNotStringer) Error() string + type Format uint + const FormatV1 + const FormatV2 + type HashOptions struct + Hasher hash.Hash + IgnoreZeroValue bool + SlicesAsSets bool + TagName string + UseStringer bool + ZeroNil bool + type Hashable interface + Hash func() ([]byte, error) + type Includable interface + HashInclude func(field string, v interface{}) (bool, error) + type IncludableMap interface + HashIncludeMap func(field string, k, v interface{}) (bool, error)