Versions in this module Expand all Collapse all v0 v0.4.2 Mar 29, 2019 v0.4.1 Mar 11, 2019 Changes in this version + type Heap struct + func (h *Heap) Add(obj interface{}) error + func (h *Heap) AddIfNotPresent(obj interface{}) error + func (h *Heap) BulkAdd(list []interface{}) error + func (h *Heap) Delete(obj interface{}) error + func (h *Heap) Get(obj interface{}) (interface{}, bool, error) + func (h *Heap) GetByKey(key string) (interface{}, bool, error) + func (h *Heap) List() []interface{} + func (h *Heap) Pop() (interface{}, error) + func (h *Heap) Update(obj interface{}) error + type KeyFunc func(obj interface{}) (string, error) + type LessFunc func(interface{}, interface{}) bool