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

x/text/collate: recommends using nonexistent package locale instead #16790

Closed
c12h opened this issue Aug 18, 2016 · 1 comment
Closed

x/text/collate: recommends using nonexistent package locale instead #16790

c12h opened this issue Aug 18, 2016 · 1 comment

Comments

@c12h
Copy link

c12h commented Aug 18, 2016

The introductory comment for package golang.org/x/text/collate says "Package locale provides a high-level interface to collation. Users should typically use that package instead." However, AFAICT there is no package locale. This is a documentation error, and a minor one at that, but still might be worth fixing.

This applies to Go 1.6 and Go 1.7.

@c12h c12h changed the title golang.org/x/text/collate recommends using package locale instead. golang.org/x/text/collate recommends using nonexistent package locale instead. Aug 18, 2016
@ianlancetaylor ianlancetaylor changed the title golang.org/x/text/collate recommends using nonexistent package locale instead. x/text/collate: recommends using nonexistent package locale instead Aug 18, 2016
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Aug 18, 2016
@stapelberg
Copy link
Contributor

I just stumbled over this as well. I’m wondering which package the documentation is referring to, though. It seems like there is no package (at least not within x/text) which uses the collate package:

x/text $ grep --exclude-dir=collate --exclude-dir=internal -r 'collate\.' *
x/text $

Is the referenced package not released yet?

@golang golang locked and limited conversation to collaborators Feb 7, 2018
@rsc rsc unassigned mpvl Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants