Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONResponseRecorder ¶
type JSONResponseRecorder[T any] struct { *httptest.ResponseRecorder }
func NewJSONResponseRecorder ¶
func NewJSONResponseRecorder[T any]() *JSONResponseRecorder[T]
func (JSONResponseRecorder[T]) MustScan ¶
func (r JSONResponseRecorder[T]) MustScan() T
func (JSONResponseRecorder[T]) Scan ¶
func (r JSONResponseRecorder[T]) Scan() (T, error)
Click to show internal directories.
Click to hide internal directories.