func golang.org/x/text/language.regionGroupDist
3 uses
golang.org/x/text/language (current package)
match.go#L565: _, sameGroup := regionGroupDist(m.pinnedRegion, have.maxRegion, have.maxScript, m.want.LangID)
match.go#L622: regGroupDist, sameGroup := regionGroupDist(have.maxRegion, maxRegion, maxScript, tag.LangID)
match.go#L673: func regionGroupDist(a, b language.Region, script language.Script, lang language.Language) (dist uint8, same bool) {
 |
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. |