mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
16 lines
179 B
Go
16 lines
179 B
Go
package getter
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
func contains(s []string, str string) bool {
|
|
for _, v := range s {
|
|
if strings.EqualFold(v, str) {
|
|
return true
|
|
}
|
|
}
|
|
|
|
return false
|
|
}
|