type encoding.TextUnmarshaler
19 uses
encoding (current package)
encoding.go#L46: type TextUnmarshaler interface {
encoding/gob
decode.go#L738: err = value.Interface().(encoding.TextUnmarshaler).UnmarshalText(b)
type.go#L111: textUnmarshalerInterfaceType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
encoding/json
decode.go#L422: func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
decode.go#L479: if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
decode.go#L599: 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/ghodss/yaml
fields.go#L22: func indirect(v reflect.Value, decodingNull bool) (json.Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
fields.go#L58: if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
github.com/go-git/gcfg
go1_2.go#L9: type textUnmarshaler encoding.TextUnmarshaler
github.com/golang/protobuf/proto
text_decode.go#L44: if u, ok := m.(encoding.TextUnmarshaler); ok {
gopkg.in/yaml.v2
decode.go#L443: u, ok := out.Addr().Interface().(encoding.TextUnmarshaler)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |