-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace deprecated strings.Title with cases.Title
The strings.Title function is being deprecated in Go 1.18 due to issues with its handling of certain unicode sets. The recommended replacement is cases.Title. We only have one location where this was being used in a utility function. This updates that instance to use the new recommendations. https://tip.golang.org/doc/go1.18#minor_library_changes Signed-off-by: Sean McGinnis <[email protected]>
- Loading branch information
1 parent
69731ed
commit 32028f3
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters