type encoding.TextMarshaler
9 uses
encoding (current package)
encoding.go#L54: type TextMarshaler interface {
encoding/json
encode.go#L385: textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]()
encode.go#L488: m, ok := v.Interface().(encoding.TextMarshaler)
encode.go#L506: m := va.Interface().(encoding.TextMarshaler)
encode.go#L963: 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) {