Files
phishingclub/backend/utils/slices.go
2025-08-21 16:14:09 +02:00

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
}