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

replacing strings.Title with cases.Title #45

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

tobiasehlert
Copy link
Member

strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (SA1019)

@tobiasehlert tobiasehlert added the go Pull requests that update Go code label Feb 7, 2024
@tobiasehlert tobiasehlert self-assigned this Feb 7, 2024
@tobiasehlert tobiasehlert merged commit 12e1246 into main Feb 7, 2024
2 checks passed
@tobiasehlert tobiasehlert deleted the replacing-deprecated-strings.Title branch February 7, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

1 participant