I've implemented AVL tree as index for sort.Interface: https://github.com/funny-falcon/go-tree (It is not strictly index, cause it could Swap elements).
So it could be used in conjunction with same type that is defined for sort.Sort . среда, 16 августа 2017 г., 3:17:29 UTC+3 пользователь Tong Sun написал: > > Sorry if this topic has been discussed, but I'm looking for a Go ordered > map implementation. > > I've found > > - https://github.com/samdolan/go-ordered-map > - https://github.com/emperorcow/orderedmap > etc > > But none seems to be being maintained. > > Anyone has used or can recommend a good Go ordered map implementation? > > Thx > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.