reflect.Type.String (method)

63 uses

	reflect (current package)
		type.go#L98: 	String() string
		value.go#L411: 			panic("reflect: " + op + " using " + xt.String() + " as type " + targ.String())
		value.go#L422: 				panic("reflect: cannot use " + xt.String() + " as type " + elem.String() + " in " + op)
		value.go#L606: 					print("kind=", steps[0].kind, ", type=", tv.String(), "\n")
		value.go#L2425: 	return "<" + v.Type().String() + " Value>"
		value.go#L2609: 		panic(what + ": " + t1.String() + " != " + t2.String())
		value.go#L3076: 		panic("reflect.Value.Convert: value of type " + v.typ.String() + " cannot be converted to type " + t.String())

	encoding/asn1
		asn1.go#L987: 	err = StructuralError{"unsupported: " + v.Type().String()}
		asn1.go#L1105: 		return "asn1: Unmarshal recipient value is non-pointer " + e.Type.String()
		asn1.go#L1107: 	return "asn1: Unmarshal recipient value is nil " + e.Type.String()

	encoding/binary
		binary.go#L253: 		return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
		binary.go#L383: 		return errors.New("binary.Write: invalid type " + reflect.TypeOf(data).String())

	encoding/json
		decode.go#L134: 		return "json: cannot unmarshal " + e.Value + " into Go struct field " + e.Struct + "." + e.Field + " of type " + e.Type.String()
		decode.go#L136: 	return "json: cannot unmarshal " + e.Value + " into Go value of type " + e.Type.String()
		decode.go#L150: 	return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
		decode.go#L165: 		return "json: Unmarshal(non-pointer " + e.Type.String() + ")"
		decode.go#L167: 	return "json: Unmarshal(nil " + e.Type.String() + ")"
		encode.go#L236: 	return "json: unsupported type: " + e.Type.String()
		encode.go#L277: 		" for type " + e.Type.String() +
		encode.go#L803: 			e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))

	encoding/xml
		marshal.go#L1043: 	return "xml: unsupported type: " + e.Type.String()
		read.go#L194: 		return t.String()
		read.go#L196: 	return "(" + t.String() + ")"
		read.go#L379: 		return errors.New("unknown type " + v.Type().String())
		read.go#L617: 		return errors.New("cannot unmarshal into " + dst0.Type().String())

	fmt
		print.go#L326: 	p.buf.writeString(v.Type().String())
		print.go#L337: 		p.buf.writeString(reflect.TypeOf(p.arg).String())
		print.go#L341: 		p.buf.writeString(p.value.Type().String())
		print.go#L512: 			p.buf.writeString(value.Type().String())
		print.go#L652: 		p.fmt.fmtS(reflect.TypeOf(arg).String())
		print.go#L760: 			p.buf.writeString(f.Type().String())
		print.go#L789: 			p.buf.writeString(f.Type().String())
		print.go#L813: 				p.buf.writeString(f.Type().String())
		print.go#L841: 				p.fmtBytes(bytes, verb, t.String())
		print.go#L846: 			p.buf.writeString(f.Type().String())
		print.go#L1140: 				p.buf.writeString(reflect.TypeOf(arg).String())
		scan.go#L1021: 			s.errorString("type not a pointer: " + val.Type().String())
		scan.go#L1037: 				s.errorString("can't scan type: " + val.Type().String())
		scan.go#L1051: 			s.errorString("can't scan type: " + val.Type().String())

	github.com/aws/smithy-go/document
		errors.go#L20: 		e.Value, e.Type.String())
		errors.go#L36: 		msg = fmt.Sprintf("cannot unmarshal to non-pointer value, got %s", e.Type.String())
		errors.go#L38: 		msg = fmt.Sprintf("cannot unmarshal to nil value, %s", e.Type.String())
		errors.go#L62: 		e.Value, e.Type.String(), e.Err)

	github.com/aws/smithy-go/middleware
		stack_values.go#L71: 			reflect.TypeOf(c.key).String() +

	github.com/go-pg/pg/v10/orm
		model.go#L93: 				return nil, fmt.Errorf("pg: Model(non-pointer %s)", v.Type().String())
		model.go#L147: 			typ.String())

	github.com/go-pg/pg/v10/types
		append_value.go#L72: 			typ.String())
		scan.go#L60: 			return fmt.Errorf("pg: Decode(non-pointer %s)", vv.Type().String())
		scan_value.go#L75: 			typ.String())

	github.com/golang/protobuf/proto
		text_decode.go#L136: 					typeName = t.Elem().String()

	github.com/google/go-cmp/cmp
		options.go#L244: 			name = fmt.Sprintf("%q.(%v)", pkgPath, t.String()) // e.g., "path/to/package".(struct { a int })

	github.com/google/go-cmp/cmp/internal/value
		name.go#L39: 			b = append(b, t.String()...)
		sort.go#L92: 		if tx.String() != ty.String() {
		sort.go#L93: 			return tx.String() < ty.String()

	github.com/vmihailenco/msgpack/v5
		decode.go#L283: 				return fmt.Errorf("msgpack: Decode(non-pointer %s)", vv.Type().String())
		decode_map.go#L221: 		return nil, fmt.Errorf("msgpack: unsupported map key: %s", keyType.String())

	internal/fmtsort
		sort.go#L181: 		panic("bad type in compare: " + aType.String())

	net/http
		client.go#L329: 	if reflect.TypeOf(rt).String() == "*http2.Transport" {