Documentation
¶
Overview ¶
Package langtag tells a well-formed language tag of BCP 47, as api takes one from app: for the profile's language and for the language of the tutor's words, which goes to a model by its name or as the tag itself.
Index ¶
Constants ¶
const Max = 64
Max is the longest tag taken: as long as the avatar's code.
Variables ¶
This section is empty.
Functions ¶
func WellFormed ¶
WellFormed says whether tag is a well-formed tag of BCP 47, which api keeps with no list of its own: subtags of letters and digits joined by hyphens, as RFC 5646 writes them, of no more than Max, that the library parses. A subtag it does not know is still well-formed. The library alone would take an underscore for a hyphen, and a tag of any length.
Types ¶
This section is empty.