Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BodyEquals ¶
func BodyEquals(t assert.TestingT, obj interface{}, recorder *httptest.ResponseRecorder)
BodyEquals asserts the content from the response recorder with the encoded json of the provided instance.
func JSONEquals ¶
JSONEquals asserts the content of the string with the encoded json of the provided instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.