Similar package golang?
HamzaAnis opened this issue · 3 comments
HamzaAnis commented
This is not an issue.
Is there any similar package like this one in Golang that anyone is aware of?
kbrock commented
@HamzaAnis you can look for something that uses "materialized path" to implement trees. That is the search phrase that you want to use.
It will be newer, so hopefully it would take advantage of "LTrees", which is a way to encode the path that is more postgres friendly, and handles indexing better. I'm not as familiar with the tree technologies in mysql.
Alternatively, you can look for an implementation that leverages closure trees. Those use a join table to represent the tree structure.
kbrock commented
best of luck