Skip to content

Update WaitGroup example - #236

Merged
moisesvega merged 4 commits into
uber-go:masterfrom
jhn:master
Oct 23, 2025
Merged

moisesvega merged 4 commits into
uber-go:masterfrom
jhn:master

Conversation

@jhn

@jhn jhn commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Go 1.25 introduced https://pkg.go.dev/sync#WaitGroup, which simplified waiting for goroutines to finish.

This updates the code example that uses WaitGroups.

Go 1.25 introduced https://pkg.go.dev/sync#WaitGroup, which simplified waiting for goroutines to finish.

This PR updates the code example that uses WaitGroups.
@CLAassistant

CLAassistant commented Oct 23, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Comment thread src/goroutine-exit.md Outdated
Comment thread style.md Outdated
@moisesvega

Copy link
Copy Markdown
Contributor

Thank you!

@moisesvega
moisesvega merged commit fbb4a88 into uber-go:master Oct 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants