This is a fork of https://github.com/cespare/go-trie that adds the PrefixIndex method.
PrefixIndex
It's required for https://github.com/toqueteos/substring.