forked from all_user/stat_center
Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package tgbot
|
||||
|
||||
const MaxMessageSize = 4090
|
||||
|
||||
func DeleteSliceElem(slice []string, elem string) []string {
|
||||
tmp := make([]string, 0, len(slice))
|
||||
for _, v := range slice {
|
||||
if v != elem {
|
||||
tmp = append(tmp, v)
|
||||
}
|
||||
}
|
||||
return tmp
|
||||
}
|
||||
Reference in New Issue
Block a user