Lines Matching refs:interface
24 in interface{}
25 out interface{}
129 // Clone interface
130 in: &struct{ S interface{} }{
135 out: &struct{ S interface{} }{
142 // Clone nested interface
144 Nested struct{ S interface{} }
146 Nested: struct{ S interface{} }{
153 Nested struct{ S interface{} }
155 Nested: struct{ S interface{} }{
167 // Interface nil
168 in: &struct{ S interface{} }{
171 out: &struct{ S interface{} }{
176 // Interface pointer to nil
177 in: &struct{ S interface{} }{
180 out: &struct{ S interface{} }{
227 // Anonymous interface
261 type EmbeddedInterface interface{}
267 got := CloneProperties(reflect.ValueOf(testCase.in).Elem()).Interface()
279 in interface{}
280 out interface{}
365 // Clone interface
366 in: &struct{ S interface{} }{
371 out: &struct{ S interface{} }{
376 // Clone nested interface
378 Nested struct{ S interface{} }
380 Nested: struct{ S interface{} }{
387 Nested struct{ S interface{} }
389 Nested: struct{ S interface{} }{
400 // Interface nil
401 in: &struct{ S interface{} }{
404 out: &struct{ S interface{} }{},
407 // Interface pointer to nil
408 in: &struct{ S interface{} }{
411 out: &struct{ S interface{} }{
448 // Anonymous interface
478 got := CloneEmptyProperties(reflect.ValueOf(testCase.in).Elem()).Interface()
493 got := CloneProperties(reflect.ValueOf(testCase.in).Elem()).Interface()