MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / ToIndexParams

Method ToIndexParams

api/pkg/requests/webhook_index_request.go:31–37  ·  view source on GitHub ↗

ToIndexParams converts HeartbeatIndex to repositories.IndexParams

()

Source from the content-addressed store, hash-verified

29
30// ToIndexParams converts HeartbeatIndex to repositories.IndexParams
31func (input *WebhookIndex) ToIndexParams() repositories.IndexParams {
32 return repositories.IndexParams{
33 Skip: input.getInt(input.Skip),
34 Query: input.Query,
35 Limit: input.getInt(input.Limit),
36 }
37}

Callers 1

IndexMethod · 0.95

Calls 1

getIntMethod · 0.45

Tested by

no test coverage detected