MCPcopy Create free account
hub / github.com/upper/db / Len

Method Len

cond.go:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104type condKeys []interface{}
105
106func (ck condKeys) Len() int {
107 return len(ck)
108}
109
110func (ck condKeys) Less(i, j int) bool {
111 return fmt.Sprintf("%v", ck[i]) < fmt.Sprintf("%v", ck[j])

Callers 3

toInterfaceArrayFunction · 0.45

Calls

no outgoing calls

Tested by 2