Versions in this module Expand all Collapse all v0 v0.3.0 May 13, 2024 v0.2.3 Nov 1, 2023 Changes in this version + func Json(source []byte, target interface{}) error + func KeyValueMap(source map[string]interface{}, target interface{}) error + func SetErrorHandler(proc ErrorHandler) + func UrlQuery(source []byte, target interface{}) error + func UrlQueryString(source string, target interface{}) error + type BinaryContentProcessor func(source []byte, target interface{}) error + type ContentProcessor func(source interface{}, target interface{}) error + type ErrorHandler func(err error) + type MapContentProcessor func(source map[string]interface{}, target interface{}) error + type Processor struct + func NewProcessor(target interface{}, opts ...ProcessorOption) *Processor + func (p *Processor) ProcessBytes(source []byte, proc BinaryContentProcessor) *Processor + func (p *Processor) ProcessContent(source interface{}, proc ContentProcessor) *Processor + func (p *Processor) ProcessMap(source map[string]interface{}, proc MapContentProcessor) *Processor + func (p *Processor) ProcessString(source string, proc TextContentProcessor) *Processor + func (p *Processor) Validate() + type ProcessorOption interface + func WithErrorHandler(proc ErrorHandler) ProcessorOption + type ProcessorOptionFunc func(processor *Processor) + type TextContentProcessor func(source string, target interface{}) error + type Validatable interface + Validate func() error