2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-13 15:26:48 +00:00
Sean Chittenden 81e1e1c05d Cull unused function and its unit test.
Pointed out by: @slackpad
2016-02-01 22:40:19 -08:00

12 lines
184 B
Go

package lib
// StrContains checks if a list contains a string
func StrContains(l []string, s string) bool {
for _, v := range l {
if v == s {
return true
}
}
return false
}