Skip to content

Clean up unused ctx param, stale TODO, and error naming - #9

Merged
chenyanchen merged 1 commit into
mainfrom
cleanup/minor-improvements
Feb 21, 2026
Merged

chenyanchen merged 1 commit into
mainfrom
cleanup/minor-improvements

Conversation

@chenyanchen

Copy link
Copy Markdown
Owner

Summary

  • Remove unused context.Context parameter from generate() and its call sites
  • Default unnamed error return values to err instead of resultN for more idiomatic generated code
  • Remove stale TODO comment for already-implemented directory creation

Test plan

  • go build . passes
  • go test -v . passes

- Remove unused context.Context parameter from generate()
- Default unnamed error return values to "err" instead of "resultN"
- Remove stale TODO comment for already-implemented directory creation
@chenyanchen
chenyanchen merged commit 879c064 into main Feb 21, 2026
2 checks passed
@chenyanchen
chenyanchen deleted the cleanup/minor-improvements branch February 22, 2026 01:24
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.

1 participant