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

Update waitgroups example to use go 1.22 #508

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Update waitgroups example to use go 1.22 #508

merged 1 commit into from
Feb 9, 2024

Conversation

pzerone
Copy link
Contributor

@pzerone pzerone commented Feb 9, 2024

goroutine closures inside for loops does not require variable reassignment since the 1.22 for loop changes

gorutine closures inside for loops does not require variable
reassignment since the 1.22 for loop changes
Copy link
Collaborator

@eliben eliben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find, thanks!

@eliben eliben merged commit a3fb3a3 into mmcgrana:master Feb 9, 2024
2 checks passed
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.

2 participants