Versions in this module Expand all Collapse all v1 v1.0.0 Feb 25, 2018 Changes in this version + type Cmp int8 + const EQ + const GT + const LT + type Comparable interface + Compare func(Comparable) Cmp + type Node struct + Key Comparable + Value interface{} + func (n *Node) Get(k Comparable) *Node + func (n *Node) Insert(k Comparable, v interface{}) *Node + func (n *Node) Next() *Node + func (n *Node) Prev() *Node + func (n *Node) Remove() interface{} + func (n *Node) Reposition(k Comparable) + func (n *Node) String() string + type SkipList struct + func New(rng *rand.Rand) *SkipList + func (s *SkipList) First() *Node + func (s *SkipList) Get(k Comparable) *Node + func (s *SkipList) Insert(k Comparable, v interface{}) *Node + func (s *SkipList) Last() *Node + func (s *SkipList) Len() uint + func (s *SkipList) Merge(t *SkipList) + func (s *SkipList) Remove(k Comparable) interface{} + func (s *SkipList) String() string