I have the following struct which contains a net/http.Request:
struct
net/http.Request
type MyRequest struct { http.Request PathParams map[string]strin
req := new(MyRequest) req.PathParams = pathParams req.Request = origRequest
or...
req := &MyRequest{ PathParams: pathParams Request: origRequest }
See: http://golang.org/ref/spec#Struct_types for more about embedding and how the fields get named.