Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformRequest ¶
func PerformRequest(router *gin.Engine, method, path string, requestBody ...[]byte) *httptest.ResponseRecorder
PerformRequest performs an HTTP request and returns the response recorder.
func SetupTestDatabase ¶
SetupTestDatabase sets up a mock database for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.