import "go4.org/reflectutil"
Package reflectutil contains reflect utilities.
reflectutil.go swapper.go swapper_std.go
Swapper returns a function which swaps the elements in slice. Swapper panics if the provided interface is not a slice.
Its goal is to work safely and efficiently for all versions and variants of Go: pre-Go1.5, Go1.5+, safe, unsafe, App Engine, GopherJS, etc.
Deprecated: this moved to the Go standard library. Use reflect.Swapper in Go 1.8+ instead.
Package reflectutil imports 1 packages (graph) and is imported by 4 packages. Updated 2018-08-09. Refresh now. Tools for package owners.