package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Functions

GetRemapper returns the Remapper attached to the given context.
Hash creates a new ID by calling f and hashing all data written to w.
OfBytes calculates the ID for the supplied data using the Hash function.
OfString calculates the ID for the supplied strings using the Hash function.
Parse parses lowercase string s as a 20 byte hex-encoded ID.
PutRemapper amends a Context by attaching a Remapper reference to it.
Unique returns a unique identifier by hashing the current time and machine hostname.

# Constants

Size is the size of an ID.

# Interfaces

Remapper is an interface which allows remapping between ID to int64.

# Type aliases

ID is a codeable unique identifier.