Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertTestdataJSONEquals ¶
AssertTestdataJSONEquals asserts the testdata at path is equal to the JSON data in r, ignoring any whitespace and formatting.
func NewTestServer ¶
NewTestServer is a light wrapper around httptest.NewServer that closes the server when the test finishes and omits the need for casting to http.HandlerFunc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.