pie icon indicating copy to clipboard operation
pie copied to clipboard

๐Ÿ• Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.

Results 25 pie issues
Sort by recently updated
recently updated
newest added

Could I remove an element by its value and index ?

add feat: SplitSlice SplitSlice returns splited slices which length equals splitLength. This is useful in scenarios such as request or saving data in batch when the size of transport data...

I want to add remove๏ผŒlike: ```go listA := pie.Strings{"1", "2"} listB := pie.Strings{"1", "3"} // [ "2" ] fmt.Println(listA.Remove(listB...)) ``` In some scenarios, there will be a desire to weed...

I'm finding there are cases where I need to transform elements and skip/ignore some. It can be done with `.Transform().Select()` but it seems a little verbose for me.

enhancement

A generated marker is a comment that let applications know to exclude code from code review, such as reviewable.io.

enhancement

Find will return the index of the first element that matches, or -1 if none match.

enhancement
good first issue