var encoding/json.textMarshalerType
5 uses
encoding/json (current package)
encode.go#L412: textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
encode.go#L428: if t.Kind() != reflect.Ptr && allowAddr && reflect.PtrTo(t).Implements(textMarshalerType) {
encode.go#L431: if t.Implements(textMarshalerType) {
encode.go#L825: if !t.Key().Implements(textMarshalerType) {
encode.go#L896: if !p.Implements(marshalerType) && !p.Implements(textMarshalerType) {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)