type encoding.TextMarshaler
17 uses
encoding (current package)
encoding.go#L54: type TextMarshaler interface {
encoding/json
encode.go#L416: textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]()
encode.go#L519: m, ok := reflect.TypeAssert[encoding.TextMarshaler](v)
encode.go#L537: m, _ := reflect.TypeAssert[encoding.TextMarshaler](va)
encode.go#L983: if tm, ok := reflect.TypeAssert[encoding.TextMarshaler](k); ok {
encoding/xml
marshal.go#L463: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](val); ok {
marshal.go#L470: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
marshal.go#L615: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](val); ok {
marshal.go#L628: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
marshal.go#L719: func (p *printer) marshalTextInterface(val encoding.TextMarshaler, start StartElement) error {
marshal.go#L869: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](vf); ok {
marshal.go#L883: if textMarshaler, ok := reflect.TypeAssert[encoding.TextMarshaler](pv); ok {
flag
flag.go#L301: func newTextValue(val encoding.TextMarshaler, p encoding.TextUnmarshaler) textValue {
flag.go#L326: if m, ok := v.p.(encoding.TextMarshaler); ok {
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) {
log/slog
text_handler.go#L103: if tm, ok := v.any.(encoding.TextMarshaler); ok {