Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2017 Changes in this version + var ErrInvalidDive = errors.New("Invalid dive tag configuration") + func HasValue(field reflect.Value) bool + type ErrInvalidTag struct + func (e *ErrInvalidTag) Error() string + type ErrInvalidTransformValue struct + func (e *ErrInvalidTransformValue) Error() string + type ErrInvalidTransformation struct + func (e *ErrInvalidTransformation) Error() string + type ErrUndefinedTag struct + func (e *ErrUndefinedTag) Error() string + type Func func(ctx context.Context, t *Transformer, value reflect.Value) error + type StructLevelFunc func(ctx context.Context, t *Transformer, value reflect.Value) error + type Transformer struct + func New() *Transformer + func (t *Transformer) Field(ctx context.Context, v interface{}, tags string) (err error) + func (t *Transformer) Register(tag string, fn Func) + func (t *Transformer) RegisterAlias(alias, tags string) + func (t *Transformer) RegisterStructLevel(fn StructLevelFunc, types ...interface{}) + func (t *Transformer) SetTagName(tagName string) + func (t *Transformer) Struct(ctx context.Context, v interface{}) error Incompatible versions in this module v2.2.0+incompatible Nov 13, 2017 v2.1.0+incompatible Oct 31, 2017 v2.0.0+incompatible Oct 2, 2017 Other modules containing this package github.com/go-playground/mold/v3 github.com/go-playground/mold/v4