We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I recently upgraded to v1.0.0 and now I'm getting this type error Cannot use *T as the type SubtypePtr[T].
Cannot use *T as the type SubtypePtr[T]
You can see it's happening for the example code taken from the readme.
Thanks!
The text was updated successfully, but these errors were encountered:
@ShawnToubeau sorry for the delay, are you still seeing this error? We have an example here: https://github.com/jetpack-io/typeid-go/blob/main/subtype_example_test.go that is pretty much what you posted, but it seems to be working fine, so I'm trying to understand the difference between your code and that example.
Sorry, something went wrong.
Hi @loreto! Yes, I'm still seeing this. I'm using Goland as my IDE, not sure if that has anything to do with it. I'm also on Go 1.21.5.
What line shows up in your go.mod for go.jetpack.io/typeid (just so I can try to reproduce everything exactly)
go.mod
go.jetpack.io/typeid
I've got go.jetpack.io/typeid v1.0.0 in my go.mod
go.jetpack.io/typeid v1.0.0
gcurtis
No branches or pull requests
Hi!
I recently upgraded to v1.0.0 and now I'm getting this type error
Cannot use *T as the type SubtypePtr[T]
.You can see it's happening for the example code taken from the readme.
Thanks!
The text was updated successfully, but these errors were encountered: