Files
iqudo-top1/internal/run/helpers.go
Eric 1549169735@qq.com da3f16e6db update
2026-09-13 20:08:13 +08:00

12 lines
229 B
Go

package run
// containsString reports whether the slice contains the value.
func containsString(values []string, target string) bool {
for _, value := range values {
if value == target {
return true
}
}
return false
}