reflect.Value.Convert (method)
19 uses
reflect (current package)
iter.go#L22: tmp = tmp.Convert(t)
value.go#L3078: func (v Value) Convert(t Type) Value {
github.com/google/go-cmp/cmp
export.go#L28: return reflect.ValueOf(ve.Interface()).Convert(f.Type)
go.uber.org/mock/gomock
matchers.go#L132: x1ValConverted := x1Val.Convert(x2Val.Type())
google.golang.org/protobuf/internal/impl
convert.go#L157: return reflect.ValueOf(v.Bool()).Convert(c.goType)
convert.go#L181: return reflect.ValueOf(int32(v.Int())).Convert(c.goType)
convert.go#L205: return reflect.ValueOf(int64(v.Int())).Convert(c.goType)
convert.go#L229: return reflect.ValueOf(uint32(v.Uint())).Convert(c.goType)
convert.go#L253: return reflect.ValueOf(uint64(v.Uint())).Convert(c.goType)
convert.go#L277: return reflect.ValueOf(float32(v.Float())).Convert(c.goType)
convert.go#L301: return reflect.ValueOf(float64(v.Float())).Convert(c.goType)
convert.go#L322: return protoreflect.ValueOfString(v.Convert(stringType).String())
convert.go#L331: return reflect.ValueOf(s).Convert(c.goType)
convert.go#L355: return protoreflect.ValueOfBytes(v.Convert(bytesType).Bytes())
convert.go#L358: return reflect.ValueOf(v.Bytes()).Convert(c.goType)
convert.go#L393: return reflect.ValueOf(v.Enum()).Convert(c.goType)
enum.go#L19: return reflect.ValueOf(n).Convert(t.GoReflectType).Interface().(protoreflect.Enum)
net/http
h2_error.go#L34: df.Set(src.Field(i).Convert(df.Type()))
text/template
funcs.go#L171: value = value.Convert(argType)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)