This commit is contained in:
Muhammad Talal Anwar
2020-07-26 19:16:53 +02:00
committed by Alec Thomas
parent 055081422d
commit f410bb770f
+1 -1
View File
@@ -93,7 +93,7 @@ func (m *binaryUnmarshalerAdapter) Decode(ctx *DecodeContext, target reflect.Val
//
// Mappers can be associated with concrete fields via pointer, reflect.Type, reflect.Kind, or via a "type" tag.
//
// Additionally, if a type implements the MappverValue interface, it will be used.
// Additionally, if a type implements the MapperValue interface, it will be used.
type Mapper interface {
// Decode ctx.Value with ctx.Scanner into target.
Decode(ctx *DecodeContext, target reflect.Value) error