Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for appendToFieldValues (0.14 sec)

  1. association.go

    			}
    
    			switch rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				for i := 0; i < rv.Len(); i++ {
    					appendToFieldValues(reflect.Indirect(rv.Index(i)).Addr())
    				}
    			case reflect.Struct:
    				if !rv.CanAddr() {
    					association.Error = ErrInvalidValue
    					return
    				}
    				appendToFieldValues(rv.Addr())
    			}
    
    			if association.Error == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top