menu-profile-edit #82

Merged
lash merged 14 commits from menu-profile-edit into master 2024-09-26 15:48:56 +02:00
Showing only changes of commit eff2cbde8b - Show all commits

15
internal/utils/isocode.go Normal file
View File

@ -0,0 +1,15 @@
package utils
lash marked this conversation as resolved
Review

please remove excess spaces

please remove excess spaces
var isoCodes = map[string]bool{
"eng": true, // English
"swa": true, // Swahili
}
func IsValidISO639(code string) bool {
return isoCodes[code]
}