bloaterbot
This commit is contained in:
parent
52f69d518a
commit
d53b439455
15 changed files with 452 additions and 0 deletions
11
commonlogic/commonlogic.go
Normal file
11
commonlogic/commonlogic.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package commonlogic
|
||||
|
||||
func ContainsInt64(a []int64, b int64) bool {
|
||||
for _, v := range a {
|
||||
if v == b {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue