Documentation ¶ Index ¶ func NewRequest(method string, url string, opts NewRequestOptions) (*http.Request, error) type NewRequestOptions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewRequest ¶ func NewRequest(method string, url string, opts NewRequestOptions) (*http.Request, error) NewRequest creates a new Request for testing, but adds RequestURI as the default imlemented in GoLang does not add the RequestURI and leaves it to the end user to implement Types ¶ type NewRequestOptions ¶ type NewRequestOptions struct { Body string Headers map[string]string GetValues url.Values PostValues *url.Values } Source Files ¶ View all Source files NewRequest.go apiTestSuite.go initTestSuite.go uiTestSuite.go Click to show internal directories. Click to hide internal directories.