Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AssignableTo (0.09 sec)

  1. schema/field.go

    		} else {
    			reflectV := reflect.ValueOf(v)
    			// Optimal value type acquisition for v
    			reflectValType := reflectV.Type()
    
    			if reflectValType.AssignableTo(field.FieldType) {
    				if reflectV.Kind() == reflect.Ptr && reflectV.Elem().Kind() == reflect.Ptr {
    					reflectV = reflect.Indirect(reflectV)
    				}
    				field.ReflectValueOf(ctx, value).Set(reflectV)
    				return
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. association.go

    				reflect.Copy(fieldValue, oldFieldValue)
    			}
    
    			appendToFieldValues := func(ev reflect.Value) {
    				if ev.Type().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev)
    				} else if ev.Type().Elem().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev.Elem())
    				} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, const UntypedRune BasicKind
    pkg go/types, const UntypedString = 24
    pkg go/types, const UntypedString BasicKind
    pkg go/types, func AssertableTo(*Interface, Type) bool
    pkg go/types, func AssignableTo(Type, Type) bool
    pkg go/types, func Comparable(Type) bool
    pkg go/types, func ConvertibleTo(Type, Type) bool
    pkg go/types, func DefPredeclaredTestFuncs()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg reflect, type StructField struct, Tag StructTag
    pkg reflect, type StructField struct, Type Type
    pkg reflect, type StructTag string
    pkg reflect, type Type interface, Align() int
    pkg reflect, type Type interface, AssignableTo(Type) bool
    pkg reflect, type Type interface, Bits() int
    pkg reflect, type Type interface, ChanDir() ChanDir
    pkg reflect, type Type interface, Elem() Type
    pkg reflect, type Type interface, Field(int) StructField
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top