type golang.org/x/text/language.Region
37 uses
golang.org/x/text/language (current package)
coverage.go#L29: Regions() []Region
coverage.go#L48: func (s allSubtags) Regions() []Region {
coverage.go#L49: reg := make([]Region, language.NumRegions)
coverage.go#L51: reg[i] = Region{language.Region(i + 1)}
coverage.go#L92: regions func() []Region
coverage.go#L149: func (s *coverage) Regions() []Region {
coverage.go#L170: case func() []Region:
coverage.go#L178: case []Region:
coverage.go#L179: s.regions = func() []Region { return v }
language.go#L56: func (t Tag) Raw() (b Base, s Script, r Region) {
language.go#L58: return Base{tt.LangID}, Script{tt.ScriptID}, Region{tt.RegionID}
language.go#L305: func (t Tag) Region() (Region, Confidence) {
language.go#L307: return Region{r}, Exact
language.go#L311: return Region{tt.RegionID}, Low // TODO: differentiate between high and low.
language.go#L315: return Region{tag.RegionID}, Low
language.go#L317: return Region{_ZZ}, No // TODO: return world instead of undetermined?
language.go#L504: type Region struct {
language.go#L510: func EncodeM49(r int) (Region, error) {
language.go#L512: return Region{rid}, err
language.go#L518: func ParseRegion(s string) (Region, error) {
language.go#L520: return Region{r}, err
language.go#L525: func (r Region) String() string {
language.go#L532: func (r Region) ISO3() string {
language.go#L538: func (r Region) M49() int {
language.go#L545: func (r Region) IsPrivateUse() bool {
language.go#L551: func (r Region) IsCountry() bool {
language.go#L557: func (r Region) IsGroup() bool {
language.go#L563: func (r Region) Contains(c Region) bool {
language.go#L574: func (r Region) TLD() (Region, error) {
language.go#L576: return Region{tld}, err
language.go#L582: func (r Region) Canonicalize() Region {
language.go#L583: return Region{r.regionID.Canonicalize()}
parse.go#L101: case Region:
tags.go#L53: func MustParseRegion(s string) Region {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |