{"id":13563452,"url":"https://github.com/golang/text","last_synced_at":"2025-05-14T02:04:48.588Z","repository":{"id":24133293,"uuid":"27522295","full_name":"golang/text","owner":"golang","description":"[mirror] Go text processing support","archived":false,"fork":false,"pushed_at":"2025-05-05T18:38:07.000Z","size":24616,"stargazers_count":777,"open_issues_count":21,"forks_count":307,"subscribers_count":60,"default_branch":"master","last_synced_at":"2025-05-05T19:31:56.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://golang.org/x/text","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/golang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-12-04T04:04:38.000Z","updated_at":"2025-05-05T18:13:05.000Z","dependencies_parsed_at":"2024-06-18T12:31:32.439Z","dependency_job_id":"867b9f6a-2df7-4c71-a226-06b277e57f01","html_url":"https://github.com/golang/text","commit_stats":{"total_commits":719,"total_committers":80,"mean_commits":8.9875,"dds":0.2809457579972183,"last_synced_commit":"9c2f3a21352d1ff4e47776534e3f334b39ec0183"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Ftext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Ftext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Ftext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/golang%2Ftext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/golang","download_url":"https://codeload.github.com/golang/text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052668,"owners_count":22006716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:01:19.418Z","updated_at":"2025-05-14T02:04:48.531Z","avatar_url":"https://github.com/golang.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Go Text\n\n[![Go Reference](https://pkg.go.dev/badge/golang.org/x/text.svg)](https://pkg.go.dev/golang.org/x/text)\n\nThis repository holds supplementary Go packages for text processing,\nmany involving Unicode.\n\n## CLDR Versioning\n\nIt is important that the Unicode version used in `x/text` matches the one used\nby your Go compiler. The `x/text` repository supports multiple versions of\nUnicode and will match the version of Unicode to that of the Go compiler. At the\nmoment this is supported for Go compilers from version 1.7.\n\n## Contribute\n\nTo submit changes to this repository, see http://go.dev/doc/contribute.\n\nThe git repository is https://go.googlesource.com/text.\n\nTo generate the tables in this repository (except for the encoding tables),\nrun go generate from this directory. By default tables are generated for the\nUnicode version in core and the CLDR version defined in\ngolang.org/x/text/unicode/cldr.\n\nRunning go generate will as a side effect create a DATA subdirectory in this\ndirectory, which holds all files that are used as a source for generating the\ntables. This directory will also serve as a cache.\n\n## Testing\n\nRun\n\n    go test ./...\n\nfrom this directory to run all tests. Add the \"-tags icu\" flag to also run\nICU conformance tests (if available). This requires that you have the correct\nICU version installed on your system.\n\nTODO:\n- updating unversioned source files.\n\n## Generating Tables\n\nTo generate the tables in this repository (except for the encoding\ntables), run `go generate` from this directory. By default tables are\ngenerated for the Unicode version in core and the CLDR version defined in\ngolang.org/x/text/unicode/cldr.\n\nRunning go generate will as a side effect create a DATA subdirectory in this\ndirectory which holds all files that are used as a source for generating the\ntables. This directory will also serve as a cache.\n\n## Versions\n\nTo update a Unicode version run\n\n    UNICODE_VERSION=x.x.x go generate\n\nwhere `x.x.x` must correspond to a directory in https://www.unicode.org/Public/.\nIf this version is newer than the version in core it will also update the\nrelevant packages there. The idna package in x/net will always be updated.\n\nTo update a CLDR version run\n\n    CLDR_VERSION=version go generate\n\nwhere `version` must correspond to a directory in\nhttps://www.unicode.org/Public/cldr/.\n\nNote that the code gets adapted over time to changes in the data and that\nbackwards compatibility is not maintained.\nSo updating to a different version may not work.\n\nThe files in DATA/{iana|icu|w3|whatwg} are currently not versioned.\n\n## Report Issues\n\nThe main issue tracker for the text repository is located at\nhttps://go.dev/issues. Prefix your issue with \"x/text:\" in the\nsubject line, so it is easy to find.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolang%2Ftext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolang%2Ftext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolang%2Ftext/lists"}