-
Notifications
You must be signed in to change notification settings - Fork 0
Utils Lang Function
samithiwat edited this page Feb 18, 2023
·
2 revisions
Utils lang function is the function that use to check or manipulate the language
utilLang := NewUtilLang(languageList)
name | description | example |
---|---|---|
languageList | the list of languages that utils can be detected in lingua.Language
|
lingua.English |
the function that check language type
lang := utilLang.CheckLang(text)
name | description | example |
---|---|---|
text | the input text | hello world |
name | description | example |
---|---|---|
lang | result lang | lingua.English |