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

Method Cur

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

Cur retrieves the current response from the response list.

()

Source from the content-addressed store, hash-verified

321
322// Cur retrieves the current response from the response list.
323func (rl *ResponsesList) Cur() *Response { return rl.List[rl.keys[rl.current]] }
324
325// Index retrieves the index of the current item in the response list.
326func (rl *ResponsesList) Index() int { return rl.current }

Callers 2

TestResponsesListFunction · 0.95
toggleResponsesLoaderMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestResponsesListFunction · 0.76