Documentation
¶
Index ¶
- func ContainsInOrder(body string, candidates ...string) bool
- func EqualIgnoreTime(str1, str2 string) bool
- func ParseOpenRightDrawerParams(body []byte) ([]any, error)
- func RemoveTime(input string) string
- func Validate(t *testing.T, w *httptest.ResponseRecorder, r *http.Request, ...) (*httptest.ResponseRecorder, *http.Request)
- type Then
- type ValidatorFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsInOrder ¶
func EqualIgnoreTime ¶
func RemoveTime ¶
func Validate ¶
func Validate(t *testing.T, w *httptest.ResponseRecorder, r *http.Request, fs ...ValidatorFunc) (*httptest.ResponseRecorder, *http.Request)
Types ¶
type Then ¶
type Then struct {
// contains filtered or unexported fields
}
func (*Then) Then ¶
func (v *Then) Then(f ValidatorFunc) *Then
func (*Then) ThenEvent ¶
func (v *Then) ThenEvent(f func(t *testing.T, w *httptest.ResponseRecorder, r *http.Request, e multipartestutils.TestEventResponse)) *Then
func (*Then) ThenValidate ¶
func (v *Then) ThenValidate(fs ...ValidatorFunc) *Then
type ValidatorFunc ¶
func Combine ¶
func Combine(fs ...ValidatorFunc) ValidatorFunc
func ContainsInOrderAtUpdatePortal ¶
func ContainsInOrderAtUpdatePortal(idx int, candidates ...string) ValidatorFunc
func OpenRightDrawer ¶
func OpenRightDrawer(title string) ValidatorFunc
func WrapEvent ¶
func WrapEvent(f func(t *testing.T, w *httptest.ResponseRecorder, r *http.Request, e multipartestutils.TestEventResponse)) ValidatorFunc
Click to show internal directories.
Click to hide internal directories.