type encoding.TextMarshaler
19 uses
encoding (current package)
encoding.go#L36: type TextMarshaler interface {
encoding/gob
encode.go#L482: data, err = v.Interface().(encoding.TextMarshaler).MarshalText()
type.go#L110: textMarshalerInterfaceType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
encoding/json
encode.go#L412: textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
encode.go#L511: m, ok := v.Interface().(encoding.TextMarshaler)
encode.go#L529: m := va.Interface().(encoding.TextMarshaler)
encode.go#L1009: if tm, ok := w.v.Interface().(encoding.TextMarshaler); ok {
encoding/xml
marshal.go#L403: textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
marshal.go#L446: return p.marshalTextInterface(val.Interface().(encoding.TextMarshaler), defaultStart(typ, finfo, startTemplate))
marshal.go#L451: return p.marshalTextInterface(pv.Interface().(encoding.TextMarshaler), defaultStart(pv.Type(), finfo, startTemplate))
marshal.go#L580: text, err := val.Interface().(encoding.TextMarshaler).MarshalText()
marshal.go#L591: text, err := pv.Interface().(encoding.TextMarshaler).MarshalText()
marshal.go#L679: func (p *printer) marshalTextInterface(val encoding.TextMarshaler, start StartElement) error {
marshal.go#L829: data, err := vf.Interface().(encoding.TextMarshaler).MarshalText()
marshal.go#L841: data, err := pv.Interface().(encoding.TextMarshaler).MarshalText()
github.com/golang/protobuf/proto
text_encode.go#L55: if m, ok := m.(encoding.TextMarshaler); ok {
text_encode.go#L77: if m, ok := m.(encoding.TextMarshaler); ok {
text_encode.go#L383: if m2, ok := m.Interface().(encoding.TextMarshaler); ok {
gopkg.in/yaml.v2
encode.go#L135: case encoding.TextMarshaler:
 |
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. |