Documentation ¶
Index ¶
- func JS(v any) string
- func LoadFile(t *testing.T, path string) string
- func NotSimple(string, string) chai.ResHandlerFunc[string, error]
- func NotSimple2(string, string) chai.ResHandlerFunc[string, error]
- func Simple(string, string) chai.ResHandlerFunc[string, error]
- func Simple2(string, string) chai.ResHandlerFunc[string, error]
- func Simple3(string, string) chai.ResHandlerFunc[string, error]
- func Simple4() func() int
- type TestError
- type TestErrorMap
- type TestErrorMapPtr
- type TestErrorPtr
- type TestInnerResponse
- type TestRequest
- type TestResponse
- type TestStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotSimple2 ¶
NotSimple2 correct comment
Types ¶
type TestErrorMap ¶ added in v0.13.0
func (TestErrorMap) Error ¶ added in v0.13.0
func (e TestErrorMap) Error() string
type TestErrorMapPtr ¶ added in v0.13.0
func (*TestErrorMapPtr) Error ¶ added in v0.13.0
func (e *TestErrorMapPtr) Error() string
type TestErrorPtr ¶ added in v0.13.0
type TestErrorPtr struct {
Message string `json:"message"`
}
func (*TestErrorPtr) Error ¶ added in v0.13.0
func (e *TestErrorPtr) Error() string
type TestInnerResponse ¶
type TestRequest ¶
type TestRequest struct { Foo string `json:"foob"` Bar string `json:"barb"` TestInnerResponse TestInnerResponse `json:"test_inner_responseb"` }
type TestResponse ¶
type TestResponse struct { Foo string `json:"foo"` Bar string `json:"bar"` TestInnerResponse TestInnerResponse `json:"test_inner_response"` }
type TestStruct ¶
Click to show internal directories.
Click to hide internal directories.