印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
242 B

1 year ago
package common
const (
EN = "en"
PT = "pt"
)
func IsLangValid(lan string) bool {
if lan != EN && lan != PT {
return false
}
return true
}
func CheckLang(lan string) string {
if lan != EN && lan != PT {
return EN
}
return lan
}