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

stringset: Add new method ToSlice() #591

Merged
merged 1 commit into from
Jan 6, 2017

Conversation

balamurugana
Copy link
Member

stringset.ToSlice() returns string slice of the set.

stringset.ToSlice() returns string slice of the set.
@harshavardhana
Copy link
Member

@balamurugana any particular reason to expose this?

@balamurugana
Copy link
Member Author

balamurugana commented Jan 6, 2017

@balamurugana any particular reason to expose this?

Yes. I am using it to identify duplicate endpoints like

set.CreateStringSet(endpoints...).ToSlice()

@harshavardhana harshavardhana merged commit 40c73e3 into minio:master Jan 6, 2017
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

Successfully merging this pull request may close these issues.

2 participants