-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add examples of generics once 1.18 ships #349
Labels
Comments
Reminder: also add examples (as needed) of new generic-using packages, like slices (if these end up landing in 1.18) |
It's also important to update (or replace) the collection-functions sample because it specifically talks about the lack of generics |
eliben
added a commit
that referenced
this issue
Mar 9, 2022
eliben
added a commit
that referenced
this issue
Mar 15, 2022
* Add example of Go generics Fixes #349 * Remove TODO * Update public link * Update GitHub action to only build with 1.18-rc1 1.17 won't successfully build the generics example
eliben
added a commit
that referenced
this issue
Mar 15, 2022
Now that we have generics, this example is not relevant. Updates #349
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The type parameters proposal (generics) has been accepted, and implementation is now ongoing aiming at the 1.18 release.
This is a placeholder issue to note that gobyexample should likely have some examples of generic Go code, once 1.18 is generally available.
The text was updated successfully, but these errors were encountered: