Documentation ¶
Index ¶
- func CheckCode(t *testing.T, expected, got int)
- func CheckEqual(t *testing.T, expected, got interface{})
- func ExecuteRequest(router *gin.Engine, method, url string, body io.Reader, format string) *httptest.ResponseRecorder
- func Setup() (db *gorm.DB, client *redis.Client)
- func SetupDB() *gorm.DB
- func SetupRedis() *redis.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEqual ¶
func ExecuteRequest ¶
func SetupRedis ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.