anno
anno copied to clipboard
Go package for text annotation.
Hi Mat, I was brought here by the Medium article so this is very much a learning question for me. In trying to grok the article and figure out why...
**@omm test string @omm** results in **@omm@omm test string @omm** after expand ``` "mention": func(b string) string { // Take substring from index 4 to length of string. return fmt.Sprintf(`%[1]s`,...
This fixes issue #1 ... Originally, to find the index of a field (the item to be annotated) in the input string, bytes.Index was used which doesn't allow us to...