MCPcopy
hub / github.com/qustavo/httplab / Index

Method Index

response.go:326–326  ·  view source on GitHub ↗

Index retrieves the index of the current item in the response list.

()

Source from the content-addressed store, hash-verified

324
325// Index retrieves the index of the current item in the response list.
326func (rl *ResponsesList) Index() int { return rl.current }
327
328// Len reports the length of the response list.
329func (rl *ResponsesList) Len() int { return len(rl.keys) }

Callers 2

TestResponsesListFunction · 0.95
toggleResponsesLoaderMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestResponsesListFunction · 0.76