add support for the Slovak version

This commit is contained in:
Dawid Wysokiński 2021-01-01 16:11:35 +01:00
parent 316413cf7f
commit e0b630c43c
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ const (
VersionCodePT VersionCode = "pt"
VersionCodeBR VersionCode = "br"
VersionCodeHU VersionCode = "hu"
VersionCodeSK VersionCode = "sk"
)
func (vc VersionCode) IsValid() bool {
@ -49,7 +50,8 @@ func (vc VersionCode) IsValid() bool {
VersionCodeRU,
VersionCodeTR,
VersionCodeUK,
VersionCodeUS:
VersionCodeUS,
VersionCodeSK:
return true
}
return false