Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getRealFieldValue (0.13 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: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top