reflect.Type.ConvertibleTo (method)
14 uses
reflect (current package)
type.go#L115: ConvertibleTo(u Type) bool
value.go#L3394: if !vt.ConvertibleTo(t) {
github.com/oapi-codegen/runtime
bindparam.go#L548: if t.ConvertibleTo(reflect.TypeOf(time.Time{})) {
bindparam.go#L551: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
bindstring.go#L115: if t.ConvertibleTo(reflect.TypeOf(time.Time{})) {
bindstring.go#L141: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
deepobject.go#L236: if it.ConvertibleTo(reflect.TypeOf(types.Date{})) {
deepobject.go#L252: if it.ConvertibleTo(reflect.TypeOf(time.Time{})) {
styleparam.go#L74: convertableToTime := t.ConvertibleTo(reflect.TypeOf(time.Time{}))
styleparam.go#L75: convertableToDate := t.ConvertibleTo(reflect.TypeOf(types.Date{}))
styleparam.go#L191: if t.ConvertibleTo(reflect.TypeOf(time.Time{})) {
styleparam.go#L197: if t.ConvertibleTo(reflect.TypeOf(types.Date{})) {
styleparam.go#L203: if t.ConvertibleTo(reflect.TypeOf(types.UUID{})) {
net/http
h2_error.go#L28: if sf.Name != df.Name || !sf.Type.ConvertibleTo(df.Type) {
![]() |
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. |