Files
Jo 81440e54a4 chore(go): modernize syntax (#2672)
* modernize go syntax

* fix lint
2025-09-18 18:05:58 +02:00

12 lines
169 B
Go

package db
import "slices"
func ArchIsSupported(alpmArch []string, arch string) bool {
if arch == "any" {
return true
}
return slices.Contains(alpmArch, arch)
}