reflect.Type.String (method)
45 uses
reflect (current package)
iter.go#L116: panic("reflect: " + v.Type().String() + " cannot produce iter.Seq[Value]")
iter.go#L172: panic("reflect: " + v.Type().String() + " cannot produce iter.Seq2[Value, Value]")
type.go#L100: String() string
value.go#L440: panic("reflect: " + op + " using " + xt.String() + " as type " + stringFor(targ))
value.go#L451: panic("reflect: cannot use " + xt.String() + " as type " + elem.String() + " in " + op)
value.go#L2656: return "<" + v.Type().String() + " Value>"
value.go#L2868: panic(what + ": " + t1.String() + " != " + t2.String())
value.go#L3385: panic("reflect.Value.Convert: value of type " + stringFor(v.typ()) + " cannot be converted to type " + t.String())
value.go#L3522: panic("reflect.Value.Equal: values of type " + v.Type().String() + " are not comparable")
encoding/asn1
asn1.go#L990: err = StructuralError{"unsupported: " + v.Type().String()}
asn1.go#L1107: return "asn1: Unmarshal recipient value is non-pointer " + e.Type.String()
asn1.go#L1109: return "asn1: Unmarshal recipient value is nil " + e.Type.String()
encoding/binary
binary.go#L264: return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
binary.go#L301: return 0, errors.New("binary.Decode: invalid type " + reflect.TypeOf(data).String())
binary.go#L408: return errors.New("binary.Write: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
binary.go#L437: return 0, errors.New("binary.Encode: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
binary.go#L464: return nil, errors.New("binary.Append: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
encoding/json
decode.go#L135: return "json: cannot unmarshal " + e.Value + " into Go struct field " + e.Struct + "." + e.Field + " of type " + e.Type.String()
decode.go#L137: return "json: cannot unmarshal " + e.Value + " into Go value of type " + e.Type.String()
decode.go#L151: return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
decode.go#L166: return "json: Unmarshal(non-pointer " + e.Type.String() + ")"
decode.go#L168: return "json: Unmarshal(nil " + e.Type.String() + ")"
encode.go#L202: return "json: unsupported type: " + e.Type.String()
encode.go#L244: " for type " + e.Type.String() +
encode.go#L758: e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))
fmt
print.go#L377: p.buf.writeString(v.Type().String())
print.go#L388: p.buf.writeString(reflect.TypeOf(p.arg).String())
print.go#L392: p.buf.writeString(p.value.Type().String())
print.go#L563: p.buf.writeString(value.Type().String())
print.go#L699: p.fmt.fmtS(reflect.TypeOf(arg).String())
print.go#L807: p.buf.writeString(f.Type().String())
print.go#L836: p.buf.writeString(f.Type().String())
print.go#L860: p.buf.writeString(f.Type().String())
print.go#L886: p.fmtBytes(bytes, verb, t.String())
print.go#L891: p.buf.writeString(f.Type().String())
print.go#L1191: 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/oapi-codegen/runtime
deepobject.go#L333: return errors.New("unhandled type: " + it.String())
styleparam.go#L458: return "", fmt.Errorf("unsupported type %s", reflect.TypeOf(value).String())
internal/fmtsort
sort.go#L134: panic("bad type in compare: " + aType.String())
net/http
client.go#L336: if reflect.TypeOf(rt).String() == "*http2.Transport" {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |