11 lines
138 B
Go
11 lines
138 B
Go
package main
|
|
|
|
func sliceContains(s []string, e string) bool {
|
|
for _, v := range s {
|
|
if e == v {
|
|
return true
|
|
}
|
|
}
|
|
|
|
return false
|
|
}
|