Lines Matching refs:field
55 for i, field := range typeFields(typ) {
56 if field.PkgPath != "" {
57 panic(fmt.Errorf("can't copy a private field %q", field.Name))
73 newSlice := reflect.MakeSlice(field.Type, srcFieldValue.Len(),
91 field.Name, srcFieldValue.Type()))
131 field.Name, srcFieldValue.Type()))
135 field.Name, srcFieldValue.Type()))
152 for i, field := range typeFields(typ) {
153 if field.PkgPath != "" {
173 field.Name, fieldValue.Type()))
187 field.Name, fieldValue.Elem().Kind()))
193 field.Name, fieldValue.Kind()))
212 for i, field := range typeFields(typ) {
213 if field.PkgPath != "" {
235 field.Name, srcFieldValue.Type()))
259 field.Name, srcFieldValue.Elem().Kind()))
264 field.Name, srcFieldValue.Kind()))