mirror of
https://github.com/bolucat/Archive.git
synced 2025-10-05 08:08:03 +08:00
11 lines
144 B
Go
11 lines
144 B
Go
package relay
|
|
|
|
func inArray(ele string, array []string) bool {
|
|
for _, v := range array {
|
|
if v == ele {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|