godash
godash copied to clipboard
Add uniq function
Uniq will return the unique set of elements in the given array
API
input := []int{1,1,2,2,3,4,3}
var output []int
godash.Uniq(input, &output)
fmt.Println(output)
// Output: [1 2 3 4]
@aswinkarthik I will work on this issue