F: restore Do func

This commit is contained in:
aki-0421 2023-04-11 21:39:49 +09:00
parent 3f7d0e77f2
commit 1ec44ab11b
No known key found for this signature in database
GPG Key ID: 64A8CF6D437D166A

10
cloudflare/fetch/http.go Normal file
View File

@ -0,0 +1,10 @@
package fetch
import (
"net/http"
)
// Do sends an HTTP request and returns an HTTP response
func (c *Client) Do(req *Request) (*http.Response, error) {
return fetch(c.namespace, req.Request)
}