MCPcopy Index your code
hub / github.com/imroc/req / Get

Function Get

request_wrapper.go:227–229  ·  view source on GitHub ↗

Get is a global wrapper methods which delegated to the default client, create a request and Get for request.

(url string)

Source from the content-addressed store, hash-verified

225// Get is a global wrapper methods which delegated
226// to the default client, create a request and Get for request.
227func Get(url string) (*Response, error) {
228 return defaultClient.R().Get(url)
229}
230
231// MustPost is a global wrapper methods which delegated
232// to the default client, create a request and Get for request.

Callers

nothing calls this directly

Calls 2

RMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected