We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think we should have a function to get child array instead of source array in UniqBy, for example:
UniqBy
I have an array students, I want to filter students who are duplicates and get their names only.
students := []student{ { Id: 1, Name: "student1", }, { Id: 2, Name: "student2", }, { Id: 1, Name: "student1", }, }
The expectation result:
result = ["student1", "student2"]
If I use UniqBy it does not adapt to my case => I want another function that can help with that.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think we should have a function to get child array instead of source array in
UniqBy
, for example:I have an array students, I want to filter students who are duplicates and get their names only.
The expectation result:
If I use
UniqBy
it does not adapt to my case => I want another function that can help with that.The text was updated successfully, but these errors were encountered: