Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ConvertibleTo (0.05 sec)

  1. schema/field.go

    		}
    	case reflect.Struct:
    		if _, ok := fieldValue.Interface().(*time.Time); ok {
    			field.DataType = Time
    		} else if fieldValue.Type().ConvertibleTo(TimeReflectType) {
    			field.DataType = Time
    		} else if fieldValue.Type().ConvertibleTo(TimePtrReflectType) {
    			field.DataType = Time
    		}
    		if field.HasDefaultValue && !skipParseDefaultValue && field.DataType == Time {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  2. scan.go

    				if _, ok := reflect.New(reflectValueType).Interface().(sql.Scanner); (reflectValueType != sch.ModelType && ok) || // is scanner
    					reflectValueType.Kind() != reflect.Struct || // is not struct
    					sch.ModelType.ConvertibleTo(schema.TimeReflectType) { // is time
    					sch = nil
    				}
    			}
    
    			// Not Pluck
    			if sch != nil {
    				matchedFieldCount := make(map[string]int, len(columns))
    				for idx, column := range columns {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. api/go1.5.txt

    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()
    pkg go/types, func Eval(*token.FileSet, *Package, token.Pos, string) (TypeAndValue, error)
    pkg go/types, func ExprString(ast.Expr) string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top