menu-profile-edit #82
@ -1,8 +1,5 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var isoCodes = map[string]bool{
|
var isoCodes = map[string]bool{
|
||||||
lash marked this conversation as resolved
|
|||||||
"eng": true, // English
|
"eng": true, // English
|
||||||
"swa": true, // Swahili
|
"swa": true, // Swahili
|
||||||
@ -12,4 +9,3 @@ var isoCodes = map[string]bool{
|
|||||||
func IsValidISO639(code string) bool {
|
func IsValidISO639(code string) bool {
|
||||||
return isoCodes[code]
|
return isoCodes[code]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user
please remove excess spaces