package internal
Import Path
golang.org/x/text/internal (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package internal contains non-exported functionality that are used by
packages in the text repository.
match.go
Package-Level Type Names (only one)
Package-Level Functions (total 3)
NewInheritanceMatcher returns a matcher that matches based on the inheritance
chain.
The matcher uses canonicalization and the parent relationship to find a
match. The resulting match will always be either Und or a language with the
same language and script as the requested language. It will not match
languages for which there is understood to be mutual or one-directional
intelligibility.
A Match will indicate an Exact match if the language matches after
canonicalization and High if the matched tag is a parent.
SortTags sorts tags in place.
UniqueTags sorts and filters duplicate tags in place and returns a slice with
only unique tags.
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |