Versions in this module Expand all Collapse all v0 v0.1.0 Apr 4, 2023 Changes in this version + const DELETE + const GET + const HEAD + const OPTIONS + const PATCH + const POST + const PUT + const TRACE + func JSONAPI(t *testing.T, engine *gin.Engine, method string, url string, body io.Reader, ...) + func Simple(t *testing.T, engine *gin.Engine, method string, url string, body io.Reader, ...) + type RequestOption func(r *http.Request) + func HeaderOption(header map[string]string) RequestOption + func QueryOption(query map[string]string) RequestOption + type ValidationFunc func(t *testing.T, resp *httptest.ResponseRecorder) + type ValidationFuncForJSONAPI func(t *testing.T, expectedResponse interface{})