I’m trying to use the index/suffixarray package, but I’m having issues. I’m not sure it does what I want it to do. I’d like a sorted array of all the suffixes of a given string. I don’t think It does that. If it does and I am just missing it could you teach me.
I don’t know that suffix is the way to go for that since, you are essentially just stripping each index out of the given string: https://play.golang.org/p/_aXfY5nDmb