func New(uri string) *Request {
	Intercept()
	res := NewResponse()
	req := NewRequest()
	req.URLStruct, res.Error = url.Parse(normalizeURI(uri))
	exp := NewMock(req, res)
	Register(exp)
	return req
}
New creates and registers a new HTTP mock with
default settings and returns the Request DSL for HTTP mock
definition and set up.
package gock
import (
	"fmt"
	"net/http"
	"net/http/httputil"
	"net/url"
	"regexp"
	"sync"
)
var mutex = &sync.Mutex{}
var config = struct {
	Networking        bool
	NetworkingFilters []FilterRequestFunc
	Observer          ObserverFunc
}{}
type ObserverFunc func(*http.Request, Mock)
var DumpRequest ObserverFunc = func(request *http.Request, mock Mock) {
	bytes, _ := httputil.DumpRequestOut(request, true)
	fmt.Println(string(bytes))
	fmt.Printf("\nMatches: %v\n---\n", mock != nil)
}
var unmatchedRequests = []*http.Request{}