Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(translate.go): optimize trimDividers function for clarity an…
…d efficiency - Move the condition to check the length of lines before cloning to avoid unnecessary operation. - Change return value to use strings.TrimSpace for consistency and to ensure the returned text does not have leading or trailing whitespace when no lines exist.
- Loading branch information