Versions in this module Expand all Collapse all v1 v1.0.0 Sep 11, 2020 Changes in this version + const Size + func PutRemapper(ctx context.Context, d Remapper) context.Context + type ID [Size]byte + func Hash(f func(w io.Writer) error) (ID, error) + func OfBytes(data ...[]byte) ID + func OfString(strings ...string) ID + func Parse(s string) (ID, error) + func Unique() ID + func (i *ID) UnmarshalJSON(data []byte) error + func (i ID) MarshalJSON() ([]byte, error) + func (id *ID) Parse(s string) error + func (id ID) Format(f fmt.State, c rune) + func (id ID) IsValid() bool + func (id ID) String() string + type Remapper interface + RemapID func(ctx context.Context, id ID) (int64, error) + RemapIndex func(ctx context.Context, index int64) (ID, error) + func GetRemapper(ctx context.Context) Remapper Incompatible versions in this module v2.0.0+incompatible Jul 8, 2021