type encoding.TextUnmarshaler
16 uses
encoding (current package)
encoding.go#L64: type TextUnmarshaler interface {
encoding/json
decode.go#L432: func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnmarshaler, reflect.Value) {
decode.go#L489: if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
decode.go#L600: var textUnmarshalerType = reflect.TypeFor[encoding.TextUnmarshaler]()
encoding/xml
read.go#L228: func (d *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler) error {
read.go#L274: return val.Interface().(encoding.TextUnmarshaler).UnmarshalText([]byte(attr.Value))
read.go#L279: return pv.Interface().(encoding.TextUnmarshaler).UnmarshalText([]byte(attr.Value))
read.go#L310: textUnmarshalerType = reflect.TypeFor[encoding.TextUnmarshaler]()
read.go#L369: return d.unmarshalTextInterface(val.Interface().(encoding.TextUnmarshaler))
read.go#L375: return d.unmarshalTextInterface(pv.Interface().(encoding.TextUnmarshaler))
read.go#L582: if err := saveData.Interface().(encoding.TextUnmarshaler).UnmarshalText(data); err != nil {
read.go#L591: if err := pv.Interface().(encoding.TextUnmarshaler).UnmarshalText(data); err != nil {
flag
flag.go#L299: type textValue struct{ p encoding.TextUnmarshaler }
flag.go#L301: func newTextValue(val encoding.TextMarshaler, p encoding.TextUnmarshaler) textValue {
flag.go#L963: func (f *FlagSet) TextVar(p encoding.TextUnmarshaler, name string, value encoding.TextMarshaler, usage string) {
flag.go#L972: func TextVar(p encoding.TextUnmarshaler, name string, value encoding.TextMarshaler, usage string) {