MCPcopy Create free account
hub / github.com/pquerna/ffjson / Less

Method Less

inception/reflect.go:47–47  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

45func (a FieldByJsonName) Len() int { return len(a) }
46func (a FieldByJsonName) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
47func (a FieldByJsonName) Less(i, j int) bool { return a[i].JsonName < a[j].JsonName }
48
49type StructInfo struct {
50 Name string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected