forked from urdt/ussd
12 lines
165 B
Go
12 lines
165 B
Go
package utils
|
|
|
|
var isoCodes = map[string]bool{
|
|
"eng": true, // English
|
|
"swa": true, // Swahili
|
|
|
|
}
|
|
|
|
func IsValidISO639(code string) bool {
|
|
return isoCodes[code]
|
|
}
|