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

Method Len

inception/inception.go:95–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93type sortedStructs []*StructInfo
94
95func (p sortedStructs) Len() int { return len(p) }
96func (p sortedStructs) Less(i, j int) bool { return p[i].Name < p[j].Name }
97func (p sortedStructs) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
98func (p sortedStructs) Sort() { sort.Sort(p) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected