mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:37:52 +08:00
11 lines
158 B
Go
11 lines
158 B
Go
package service
|
|
|
|
func containsInt64(values []int64, target int64) bool {
|
|
for _, v := range values {
|
|
if v == target {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|