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