Documentation ¶
Index ¶
- func CreateTestDatabase(filename string) db.Database
- func IsValidUuid(u string) bool
- func RecordDeleteCall(t *testing.T, url string) *httptest.ResponseRecorder
- func RecordDeleteCallWithDb(t *testing.T, url string, dbValidator DbValidator) *httptest.ResponseRecorder
- func RecordGetCall(t *testing.T, url string) *httptest.ResponseRecorder
- func RecordPostCall(t *testing.T, url string, body string) *httptest.ResponseRecorder
- func RecordPostCallWithDb(t *testing.T, url string, body string, dbValidator DbValidator) *httptest.ResponseRecorder
- type DbValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestDatabase ¶
func IsValidUuid ¶
func RecordDeleteCall ¶
func RecordDeleteCall(t *testing.T, url string) *httptest.ResponseRecorder
func RecordDeleteCallWithDb ¶
func RecordDeleteCallWithDb(t *testing.T, url string, dbValidator DbValidator) *httptest.ResponseRecorder
func RecordGetCall ¶
func RecordGetCall(t *testing.T, url string) *httptest.ResponseRecorder
func RecordPostCall ¶
func RecordPostCallWithDb ¶
func RecordPostCallWithDb(t *testing.T, url string, body string, dbValidator DbValidator) *httptest.ResponseRecorder
Types ¶
type DbValidator ¶
Click to show internal directories.
Click to hide internal directories.