Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add strings.TrimToOnly #26

Merged
merged 2 commits into from
Dec 4, 2024
Merged

feat: add strings.TrimToOnly #26

merged 2 commits into from
Dec 4, 2024

Conversation

zostay
Copy link
Owner

@zostay zostay commented Dec 4, 2024

This pull request introduces a new function TrimToOnly to the strings package, updates relevant documentation, and adds new tests for this function. It also includes a new configuration file for Go linters.

New function addition:

  • Added TrimToOnly function to strings/content.go which removes all characters not in the given set of characters.

Documentation updates:

  • Updated README.md to include TrimToOnly in the list of provided tools.
  • Updated Changes.md to document the addition of TrimToOnly.

Testing:

  • Added tests for the TrimToOnly function in strings/content_test.go.

Configuration:

  • Added .idea/golinter.xml configuration file to specify Go linter settings.

@zostay zostay merged commit a22d27d into master Dec 4, 2024
1 check passed
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