Implement funk.Remove from a slice by index
tom10271 opened this issue · comments
tom10271 commented
Flo commented
You can do it with a pure typesafe implementation:
func RemoveInt(slice []int, s int) []int {
return append(slice[:s], slice[s+1:]...)
}
Dimmy Junior commented
But I think its god ideia. Add to funk. If you wanna. I can do and open PR.