A Golang implementation of the Aho-Corasick string matching algorithm, derived from Cloudflare's implementation.
This version works differently in three important ways:
- It returns the position of the matches.
- It returns all matches.
- It is thread safe, so can be used concurrently.