dl icon indicating copy to clipboard operation
dl copied to clipboard

Support for interfaces and for Go 1.6

Open tiborvass opened this issue 10 years ago • 0 comments

This patch is useful for playing with reflect. You could consider this as a bugfix, since the type checked in the type switch, was not that of the underlying type. I added a test to illustrate my point.

Since I was testing this in Go 1.6, which got stricter in terms of pointers in Cgo, I commented out some parts of the code and removed examples_test.go.

Signed-off-by: Tibor Vass [email protected]

tiborvass avatar Feb 10 '16 07:02 tiborvass