MCPcopy Create free account
hub / github.com/DoNewsCode/core / Len

Method Len

otgorm/seeding.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (s *Seeds) Len() int {
33 return len(s.Collection)
34}
35
36func (s *Seeds) Less(i, j int) bool {
37 ivalue, _ := strconv.ParseInt(s.Collection[i].ID, 10, 64)

Callers 7

TestC_ProvideFunction · 0.45
TestFactoryFunction · 0.45
TestHook_rawFunction · 0.45
TestTransport_RoundTripFunction · 0.45
TestWriterFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestC_ProvideFunction · 0.36
TestFactoryFunction · 0.36
TestHook_rawFunction · 0.36
TestTransport_RoundTripFunction · 0.36
TestWriterFunction · 0.36