github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/protocol/language.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package protocol 4 5 type Language interface { 6 ID() LanguageID 7 } 8 9 // LanguageID indicate 10 type LanguageID uint32 11 12 // Languages code 13 const ( 14 LanguageUnset LanguageID = iota 15 LanguageMachine 16 LanguageMathematics 17 LanguageMusical 18 LanguageSign // https://en.wikipedia.org/wiki/Sign_language 19 20 LanguagePersian 21 LanguageEnglish 22 LanguageRussian 23 LanguageArabic 24 )