grafana/pkg/modules/util.go

12 lines
162 B
Go
Raw Normal View History

package modules
func stringsContain(values []string, search string) bool {
for _, v := range values {
if search == v {
return true
}
}
return false
}