mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-09-27 04:15:54 +08:00
13 lines
177 B
Go
13 lines
177 B
Go
package quark
|
|
|
|
import (
|
|
"io"
|
|
"net/http"
|
|
)
|
|
|
|
func NewRequest(method string, url string, body io.Reader) *http.Request {
|
|
r, _ := http.NewRequest(method, url, body)
|
|
|
|
return r
|
|
}
|