Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestAPIResult ¶
type TestAPIResult struct { StatusCode int Body interface{} }
type TestCase ¶
type TestCase[I any, ER any] struct { Name string MockReturns TestCaseMockReturns Input I ExpectedRes ER ExpectedErr error }
type TestCaseMockReturn ¶
type TestCaseMockReturn struct { Result interface{} Err error }
type TestCaseMockReturns ¶
type TestCaseMockReturns = map[string]TestCaseMockReturn
Click to show internal directories.
Click to hide internal directories.