Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformRequest ¶
func PerformRequest(r http.Handler, method, path string, body io.Reader, headers map[string]string) *httptest.ResponseRecorder
refer: https://github.com/gin-gonic/gin/blob/master/routes_test.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.