remove extra spaces
This commit is contained in:
parent
cc760e7698
commit
6dbd250694
@ -1,8 +1,5 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var isoCodes = map[string]bool{
|
var isoCodes = map[string]bool{
|
||||||
"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