Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJSONResponseRecorder ¶
func NewJSONResponseRecorder[T any]() *httptestx.JSONResponseRecorder[Result[T]]
Types ¶
type JSONResponseRecorder ¶
type JSONResponseRecorder[T any] struct { *httptest.ResponseRecorder }
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.