type encoding.TextMarshaler
10 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 := v.Interface().(encoding.TextMarshaler)
encode.go#L537: m := va.Interface().(encoding.TextMarshaler)
encode.go#L994: if tm, ok := k.Interface().(encoding.TextMarshaler); 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 {