headers.go
raw| 1 | // Copyright 2019 Huan Du. All rights reserved. |
| 2 | // Licensed under the MIT license that can be found in the LICENSE file. |
| 3 | |
| 4 | package clone |
| 5 | |
| 6 | import "reflect" |
| 7 | |
| 8 | // As golint reports warning on possible misuse of these headers, |
| 9 | // avoid to use these header types directly to silience golint. |
| 10 | |
| 11 | type sliceHeader reflect.SliceHeader |
| 12 | type stringHeader reflect.StringHeader |