3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-24 20:22:39 +01:00
matterbridge/vendor/github.com/mrexodia/wray/utils.go
2016-09-04 20:04:43 +02:00

11 lines
161 B
Go

package wray
func contains(target string, slice []string) bool {
for _, t := range(slice) {
if t == target {
return true
}
}
return false
}