package
1.0.1
Repository: https://github.com/qiangxue/go-rest-api.git
Documentation: pkg.go.dev

# Functions

DB returns the database connection for testing purpose.
Endpoint tests an HTTP endpoint using the given APITestCase spec.
MockRouter creates a routing.Router for testing APIs.
MockRoutingContext creates a routing.Conext for testing handlers.
ResetTables truncates all data in the specified tables.

# Structs

APITestCase represents the data needed to describe an API test case.