MCPcopy Create free account
hub / github.com/imroc/req / sorter

Struct sorter

internal/http2/http2.go:145–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143var sorterPool = sync.Pool{New: func() any { return new(sorter) }}
144
145type sorter struct {
146 v []string // owned by sorter
147}
148
149func (s *sorter) Len() int { return len(s.v) }
150

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected