Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchKey = errors.New("no such key exists")
Functions ¶
func SearchInt64s ¶
SearchInt64s implements sort.SearchInts for int64.
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map is a sorted map[int64]int64.
func (*Map) NearestGreater ¶
NearestGreater returns the nearest key, value pair that exists in the map with a key > want.
Click to show internal directories.
Click to hide internal directories.