From 45d9f8b0f3d57f5585df10745652fd30920a2394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Kov=C3=A1cs?= Date: Mon, 6 Mar 2023 01:26:32 +0100 Subject: [PATCH] Fix Send() documentation code (#528) --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.go b/request.go index 672df88c..e6043d7e 100644 --- a/request.go +++ b/request.go @@ -724,7 +724,7 @@ func (r *Request) Patch(url string) (*Response, error) { // req := client.R() // req.Method = resty.GET // req.URL = "http://httpbin.org/get" -// resp, err := client.R().Send() +// resp, err := req.Send() func (r *Request) Send() (*Response, error) { return r.Execute(r.Method, r.URL) }