Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getRealFieldValue (0.15 sec)

  1. schema/field.go

    				fieldValue = reflect.ValueOf(v)
    			}
    
    			// Use the field struct's first field type as data type, e.g: use `string` for sql.NullString
    			var getRealFieldValue func(reflect.Value)
    			getRealFieldValue = func(v reflect.Value) {
    				var (
    					rv     = reflect.Indirect(v)
    					rvType = rv.Type()
    				)
    
    				if rv.Kind() == reflect.Struct && !rvType.ConvertibleTo(TimeReflectType) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top