README ¶ sort heap Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Heap func (h *Heap) Append(v interface{}) func (h *Heap) Dump() []interface{} Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Heap ¶ type Heap struct { // Options Less func(o1, o2 interface{}) bool // required Size int // optional, 0 to not limit // contains filtered or unexported fields } func (*Heap) Append ¶ func (h *Heap) Append(v interface{}) func (*Heap) Dump ¶ func (h *Heap) Dump() []interface{} Source Files ¶ View all Source files heap.go Click to show internal directories. Click to hide internal directories.