mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
12 lines
162 B
Go
12 lines
162 B
Go
|
package modules
|
||
|
|
||
|
func stringsContain(values []string, search string) bool {
|
||
|
for _, v := range values {
|
||
|
if search == v {
|
||
|
return true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return false
|
||
|
}
|