Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2024 Changes in this version + var ErrUnsupportedBodyType = errors.New("unsupported body type") + var ErrUnsupportedHeaderType = errors.New("unsupported header type") + var ErrUnsupportedQueryType = errors.New("unsupported query type") + var ErrUnsupportedURIParamType = errors.New("unsupported uri param type") + func NewTestContext(input ContextInput) (*gin.Context, error) + type Builder struct + func NewBuilder() *Builder + func (b *Builder) GetContext() (*gin.Context, error) + func (b *Builder) SetBody(body interface{}) + func (h *Builder) SetHeaders(headers interface{}) + func (q *Builder) SetQueries(queries interface{}) + func (u *Builder) SetURIParams(uriParams interface{}) + type ContextInput struct + Body any + Headers any + Queries any + URIParams any