Append appends s with v. s must be a pointer to a slice. v can be a slice or a single element.
(s interface{}, v interface{})
| 76 | // s must be a pointer to a slice. |
| 77 | // v can be a slice or a single element. |
| 78 | func Append(s interface{}, v interface{}) { |
| 79 | ptr, old := getSlicePtr(s) |
| 80 | replace(ptr, old, old.Len(), 0, v) |
| 81 | } |
| 82 | |
| 83 | // Clone returns a shallow copy of the slice s. |
| 84 | func Clone(s interface{}) interface{} { |
nothing calls this directly
no test coverage detected