Skip to content

docs: add zh-TW README translations, improve examples and tests#13

Merged
min0625 merged 1 commit into
mainfrom
docs/zh-tw-readme-and-test-improvements
Jun 24, 2026
Merged

docs: add zh-TW README translations, improve examples and tests#13
min0625 merged 1 commit into
mainfrom
docs/zh-tw-readme-and-test-improvements

Conversation

@min0625

@min0625 min0625 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Traditional Chinese (繁體中文) README translations for both the root package and x/errgroup
  • Add English | 繁體中文 language switcher to all READMEs
  • Convert example snippets from func Example() stubs to runnable package main form with explicit imports
  • Move panic behaviour section after the example in the root README for better readability
  • Add 5 tests covering PanicError.Unwrap (errors.Is/As), already-wrapped PanicError/PanicValue passthrough, and PanicValue.String formatting
  • Remove goconst linter (generated false positives on test string literals)

Test plan

  • make check passes (tidy, lint, race-detected tests)
  • New tests cover the added cases and fail if the invariants break

🤖 Generated with Claude Code

- Add Traditional Chinese README for root and x/errgroup packages
- Add English/繁體中文 language switcher to all READMEs
- Convert example snippets to runnable package main form with full imports
- Move panic behaviour section after example in root README
- Add tests for PanicError.Unwrap, already-wrapped panic passthrough, and PanicValue.String
- Remove goconst linter (false positives on test string literals)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@min0625 min0625 merged commit 1989cec into main Jun 24, 2026
6 checks passed
@min0625 min0625 deleted the docs/zh-tw-readme-and-test-improvements branch June 24, 2026 07:25
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