voidwalker/util/slice.go
Niko Storni 374ec482cd make timeout configurable
don't republish thumbs that were published from previous channels
2020-06-04 21:29:02 +02:00

10 lines
143 B
Go

package util
func StringInSlice(a string, list []string) bool {
for _, b := range list {
if b == a {
return true
}
}
return false
}