# Functions
NewTruncIndex creates a new TruncIndex and initializes with a list of IDs.
# Variables
ErrAmbiguousPrefix is returned if the prefix was ambiguous (multiple ids for the prefix).
ErrEmptyPrefix is an error returned if the prefix was empty.
ErrIllegalChar is returned when a space is in the ID.
ErrNotExist is returned when ID or its prefix not found in index.
# Structs
TruncIndex allows the retrieval of string identifiers by any of their unique prefixes.