Versions in this module Expand all Collapse all v1 v1.2.17 Nov 30, 2021 Changes in this version + type Context struct + func NewContext(w *httptest.ResponseRecorder, t testing) *Context + func (ctx *Context) Bind(v interface{}) error + func (ctx *Context) Body() (..., error) + type XTest struct + func New(hdl http.Handler) *XTest + func (x *XTest) Get(url string, args interface{}, h func(w *httptest.ResponseRecorder)) + func (x *XTest) Handle(method, reqPath string, funk func(ctx *Context), t testing, args interface{}) + func (x *XTest) Head(url string, args interface{}, h func(w *httptest.ResponseRecorder)) + func (x *XTest) Options(url string, args interface{}, h func(w *httptest.ResponseRecorder)) + func (x *XTest) Post(url string, args interface{}, h func(w *httptest.ResponseRecorder)) + func (x *XTest) Put(url string, args interface{}, h func(w *httptest.ResponseRecorder)) + func (x *XTest) SetToken(tk string)