Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for interfaces and for Go 1.6 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiborvass
Copy link

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]

@bendikro bendikro mentioned this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant