Go generics remain in a galaxy far, far away.
That doesn't mean Go developers have to remain in the dark ages forever, though.
Developer tools like YASnippet allow us to reuse boilerlate code for common, repetitive tasks including priority queues and AVL Trees without the performance hit imposed by .(casting)
interface{}
s specific to our preferred types.
If you need or want an algorithm or a common pattern converted into a Go snippet, create an issue here and I'll get it done. (I'm currently converting some of the algorithms in this repo into snippets.)