20 lines
266 B
Go
20 lines
266 B
Go
package apiact
|
|
|
|
import (
|
|
"io"
|
|
"net/http"
|
|
)
|
|
|
|
// RequestObject -
|
|
type RequestObject struct {
|
|
Method string
|
|
URL string
|
|
Body io.Reader
|
|
Headers map[string]string
|
|
}
|
|
|
|
// GetRequest -
|
|
func GetRequest(r RequestObject) (req *http.Request, err error) {
|
|
return
|
|
}
|