Skip to content

fix(cmd): use WaitGroup.Go for goroutine creation (Closes #132)#133

Merged
sgaunet merged 1 commit intomainfrom
fix/cmd-waitgroup-modernize
Mar 2, 2026
Merged

fix(cmd): use WaitGroup.Go for goroutine creation (Closes #132)#133
sgaunet merged 1 commit intomainfrom
fix/cmd-waitgroup-modernize

Conversation

@sgaunet
Copy link
Copy Markdown
Owner

@sgaunet sgaunet commented Mar 2, 2026

No description provided.

Replace legacy wg.Add(1) + go func() { defer wg.Done() }() with
wg.Go(func() { ... }) in handleStreamingResponse to satisfy the
modernize linter (waitgroup check, Go 1.25+).

Closes #132
@sgaunet sgaunet self-assigned this Mar 2, 2026
@sgaunet sgaunet added the bug Something isn't working label Mar 2, 2026
@sgaunet sgaunet merged commit 763e8bb into main Mar 2, 2026
3 checks passed
@sgaunet sgaunet deleted the fix/cmd-waitgroup-modernize branch March 2, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant