()
| 310 | } |
| 311 | |
| 312 | func (es *EditableString) clone() EditableString { |
| 313 | return EditableString{ |
| 314 | Value: es.Value, |
| 315 | Default: es.Default, |
| 316 | Edited: es.Edited, |
| 317 | Selectable: es.Selectable, |
| 318 | // Shallow copies since no mutation. |
| 319 | Options: es.Options, |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | func (es *EditableSlice) clone() EditableSlice { |
| 324 | cpy := EditableSlice{ |
nothing calls this directly
no outgoing calls
no test coverage detected