Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heap ¶
type Heap []*LocationWrapper
type Interface ¶
type Interface interface {
Search(text string, limit int) []*SearchResult
}
type ReverseHeap ¶
type ReverseHeap []*LocationWrapper
func (ReverseHeap) Len ¶
func (h ReverseHeap) Len() int
func (ReverseHeap) Less ¶
func (h ReverseHeap) Less(i, j int) bool
func (*ReverseHeap) Pop ¶
func (h *ReverseHeap) Pop() interface{}
func (*ReverseHeap) Push ¶
func (h *ReverseHeap) Push(x interface{})
func (ReverseHeap) Swap ¶
func (h ReverseHeap) Swap(i, j int)
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.