Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupNewValuePool (0.07 sec)

  1. schema/field.go

    		}
    	}
    
    	return field
    }
    
    // create valuer, setter when parse struct
    func (field *Field) setupValuerAndSetter() {
    	// Setup NewValuePool
    	field.setupNewValuePool()
    
    	// ValueOf returns field's value and if it is zero
    	fieldIndex := field.StructField.Index[0]
    	switch {
    	case len(field.StructField.Index) == 1 && fieldIndex > 0:
    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