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

promise.Any does not exist #25

Closed
JulienLecoq opened this issue Dec 30, 2021 · 3 comments
Closed

promise.Any does not exist #25

JulienLecoq opened this issue Dec 30, 2021 · 3 comments

Comments

@JulienLecoq
Copy link

In the README as well as in the examples, you use promise.Any for typing but it is not exported by the package.

@chebyrash
Copy link
Owner

That's true.

I'm in the middle of updating the README to showcase the new update which utilises Go 1.18 generics.

Actually, the old promise.Any won't be needed any more with the introduction of native any in Go

@JulienLecoq
Copy link
Author

Okay, can't wait to see it in action :D

@chebyrash
Copy link
Owner

done

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

No branches or pull requests

2 participants