Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2025 Changes in this version + func Copy(to any, from any) error + func CopyWithConverters(to any, from any) error + func HandleJSONRequest[T any, R any](c *gin.Context, handler Handler[T, R], validators ...Validator[T]) + func HandleQueryRequest[T any, R any](c *gin.Context, handler Handler[T, R], validators ...Validator[T]) + func HandleRequest[T any, R any](c *gin.Context, binder Binder, handler Handler[T, R], ...) + func HandleUriRequest[T any, R any](c *gin.Context, handler Handler[T, R], validators ...Validator[T]) + func OnInitialize(configFile *string, envPrefix string, loadDirs []string, ...) func() + func ReadRequest[T any](c *gin.Context, rq *T, binder Binder, validators ...Validator[T]) error + func ShouldBindJSON[T any](c *gin.Context, rq *T, validators ...Validator[T]) error + func ShouldBindQuery[T any](c *gin.Context, rq *T, validators ...Validator[T]) error + func ShouldBindUri[T any](c *gin.Context, rq *T, validators ...Validator[T]) error + func TypeConverters() []copier.TypeConverter + func WriteResponse(c *gin.Context, data any, err error) + type Binder func(any) error + type ErrorResponse struct + Message string + Metadata map[string]string + Reason string + type Handler func(ctx context.Context, req *T) (R, error) + type Validator func(context.Context, *T) error