Documentation
¶
Index ¶
- func AssertType[T any](tb testing.TB, name string, value any) T
- func CloseNow(tb testing.TB, name string, closeFn func() error)
- func CloseOnCleanup(tb testing.TB, name string, closeFn func() error)
- func WriteJSON(tb testing.TB, w io.Writer, value any)
- func WriteResponse(tb testing.TB, w io.Writer, body string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.