mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
12 lines
199 B
Go
12 lines
199 B
Go
package utils
|
|
|
|
func SliceRemoveInt(intSlice []int, target int) []int {
|
|
result := []int{}
|
|
for _, num := range intSlice {
|
|
if num != target {
|
|
result = append(result, num)
|
|
}
|
|
}
|
|
return result
|
|
}
|