mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
加入消息通知类型选择
This commit is contained in:
10
backend/utils/array.go
Normal file
10
backend/utils/array.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package utils
|
||||
|
||||
func StringArrayContains(arr []string, str string) bool {
|
||||
for _, s := range arr {
|
||||
if s == str {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user