slice_helpers.go 158 B

12345678910
  1. package service
  2. func containsInt64(values []int64, target int64) bool {
  3. for _, v := range values {
  4. if v == target {
  5. return true
  6. }
  7. }
  8. return false
  9. }