Lines Matching refs:src
36 func AppendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
37 return extendProperties(dst, src, filter, false)
54 func PrependProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc) error {
55 return extendProperties(dst, src, filter, true)
74 func AppendMatchingProperties(dst []interface{}, src interface{},
76 return extendMatchingProperties(dst, src, filter, false)
95 func PrependMatchingProperties(dst []interface{}, src interface{},
97 return extendMatchingProperties(dst, src, filter, true)
120 func extendProperties(dst interface{}, src interface{}, filter ExtendPropertyFilterFunc,
127 srcValue, err := getStruct(src)
133 return fmt.Errorf("expected matching types for dst and src, got %T and %T", dst, src)
141 func extendMatchingProperties(dst []interface{}, src interface{}, filter ExtendPropertyFilterFunc,
153 srcValue, err := getStruct(src)