Versions in this module Expand all Collapse all v1 v1.0.1 Dec 17, 2019 Changes in this version + type APITest struct + func New(t *testing.T, mux *http.ServeMux) APITest + func NewWithGoji(t *testing.T, mux *goji.Mux) APITest + func (a *APITest) Request(method string, path string, body interface{}) Response + type Response struct + Body []byte + StatusCode int + StatusText string + func (a Response) Cool() Response + func (a Response) Created() Response + func (a Response) InternalServerError() Response + func (a Response) JSON(i interface{}) Response + func (a Response) NoContent() Response + func (a Response) NotFound() Response + func (a Response) OK() Response + func (a Response) Status(code int) Response