Documentation
¶
Index ¶
- func CreateTempFile(t testing.TB, initialData string) (*os.File, func())
- func GetContentTypeFromResponse(response *httptest.ResponseRecorder) string
- func GetTaskFromResponse(t *testing.T, body io.Reader) *models.Task
- func GetTasksFromResponse(t *testing.T, body io.Reader) (tasks []models.Task)
- func GetUserFromResponse(t *testing.T, body io.Reader) (user models.User)
- func NewMockStore(shouldError bool) *mockStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContentTypeFromResponse ¶
func GetContentTypeFromResponse(response *httptest.ResponseRecorder) string
func GetTasksFromResponse ¶
func GetUserFromResponse ¶
func NewMockStore ¶
func NewMockStore(shouldError bool) *mockStore
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.