[
https://issues.apache.org/jira/browse/BEAM-14249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jack McCluskey updated BEAM-14249:
----------------------------------
Description:
strings.Title is deprecated as of Go 1.18, and an alternative in to form of
golang.org/x/text/cases should be used instead (present in Go since 1.0)
An initial exploration found that there isn't a language tag to pass in to
cases.Title() that matches the current strings.Title behavior perfectly. More
work will need to be done to match existing behavior.
was:strings.Title is deprecated as of Go 1.18, and an alternative in to form
of golang.org/x/text/cases should be used instead (present in Go since 1.0)
> Replace use of deprecated strings.Title
> ---------------------------------------
>
> Key: BEAM-14249
> URL: https://issues.apache.org/jira/browse/BEAM-14249
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-go
> Reporter: Jack McCluskey
> Assignee: Jack McCluskey
> Priority: P3
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> strings.Title is deprecated as of Go 1.18, and an alternative in to form of
> golang.org/x/text/cases should be used instead (present in Go since 1.0)
>
> An initial exploration found that there isn't a language tag to pass in to
> cases.Title() that matches the current strings.Title behavior perfectly. More
> work will need to be done to match existing behavior.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)