Skip to content
New issue

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

Subset Range #221

Open
yuseferi opened this issue Dec 20, 2023 · 0 comments
Open

Subset Range #221

yuseferi opened this issue Dec 20, 2023 · 0 comments

Comments

@yuseferi
Copy link

Hello,
I noticed the subSet actually just getting the mentioned indexes, I mean

.Subset([]int{0, 100})

just returns records in index 0 and 100.

I'm wondering how can I get a subset range from 0-100?

one solution could be I create a slice as an index slice and pass it to this function but I think it is no a very nice solution maybe something inside the package could be helpful.

if there is nothing maybe I could assist in implementing it.
wdyt?

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant