type encoding.TextUnmarshaler
15 uses
encoding (current package)
encoding.go#L46: type TextUnmarshaler interface {
encoding/json
decode.go#L425: func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
decode.go#L482: if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
decode.go#L602: var textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
encoding/xml
read.go#L223: func (d *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler) error {
read.go#L269: return val.Interface().(encoding.TextUnmarshaler).UnmarshalText([]byte(attr.Value))
read.go#L274: return pv.Interface().(encoding.TextUnmarshaler).UnmarshalText([]byte(attr.Value))
read.go#L304: textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
read.go#L353: return d.unmarshalTextInterface(val.Interface().(encoding.TextUnmarshaler))
read.go#L359: return d.unmarshalTextInterface(pv.Interface().(encoding.TextUnmarshaler))
read.go#L563: if err := saveData.Interface().(encoding.TextUnmarshaler).UnmarshalText(data); err != nil {
read.go#L572: if err := pv.Interface().(encoding.TextUnmarshaler).UnmarshalText(data); err != nil {
github.com/golang/protobuf/proto
text_decode.go#L44: if u, ok := m.(encoding.TextUnmarshaler); ok {
github.com/vmihailenco/msgpack/v5
decode_value.go#L248: unmarshaler := v.Interface().(encoding.TextUnmarshaler)
types.go#L32: textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)