Documentation ¶
Index ¶
- func GetTestGinContext(w *httptest.ResponseRecorder) *gin.Context
- func MockJsonDelete(c *gin.Context, params gin.Params)
- func MockJsonGet(c *gin.Context, params gin.Params, urlValues url.Values)
- func MockJsonPost(c *gin.Context, content interface{}, params gin.Params, urlValues url.Values)
- func MockJsonPut(c *gin.Context, content interface{}, params gin.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestGinContext ¶
func GetTestGinContext(w *httptest.ResponseRecorder) *gin.Context
func MockJsonPost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.