Versions in this module Expand all Collapse all v1 v1.1.2 Jul 23, 2014 v1.1.0 Jul 3, 2014 Changes in this version + var ErrNoID = errors.New("prefix can't be empty") + type TruncIndex struct + func NewTruncIndex(ids []string) (idx *TruncIndex) + func (idx *TruncIndex) Add(id string) error + func (idx *TruncIndex) Delete(id string) error + func (idx *TruncIndex) Get(s string) (string, error)