Documentation ¶ Index ¶ func DoBadRequest(checks func(*http.Request)) mocks.Do func DoOk(checks func(*http.Request)) mocks.Do func DoOkWithBody(checks func(*http.Request), body any) mocks.Do func ReadBody(r *http.Request, m interface{}) (err error) func ReadParams(r *http.Request) (params map[string]string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DoBadRequest ¶ func DoBadRequest(checks func(*http.Request)) mocks.Do func DoOk ¶ func DoOk(checks func(*http.Request)) mocks.Do func DoOkWithBody ¶ func DoOkWithBody(checks func(*http.Request), body any) mocks.Do func ReadBody ¶ func ReadBody(r *http.Request, m interface{}) (err error) func ReadParams ¶ func ReadParams(r *http.Request) (params map[string]string) Types ¶ This section is empty. Source Files ¶ View all Source files helpers.go Click to show internal directories. Click to hide internal directories.