MCPcopy Create free account
hub / github.com/apache/cloudstack-go / Len

Method Len

generate/generate.go:206–208  ·  view source on GitHub ↗

Add functions for the Sort interface

()

Source from the content-addressed store, hash-verified

204
205// Add functions for the Sort interface
206func (s services) Len() int {
207 return len(s)
208}
209
210func (s services) Less(i, j int) bool {
211 return s[i].name < s[j].name

Callers 1

EncodeValuesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected