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

net: `Resolver.resolveAddrList()` should be public #20783

Closed
AlmogBaku opened this issue Jun 24, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@AlmogBaku
Copy link

commented Jun 24, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

master

What did you expect to see?

This function is very useful therefore it should be public.

What did you see instead?

Resolver.resolveAddrList() is private

@bradfitz

This comment has been minimized.

Copy link
Member

commented Jun 24, 2017

Being subjectively useful to one person is not the bar for making something public.

If you want to push this forward, please go through the proposal process (https://golang.org/s/proposal) and file a new bug with a more substantive proposal and try to quantify the benefit and that it outweighs the costs of extra API bloat & docs. Approximately how many existing users in the Github corpus would benefit? Which existing bugs would this fix? What features would this enable?

Anything more than "is very useful [to me] therefore it should be public".

I'm going to close this for now, but feel free to reply or file a new issue if you collect more data.

@bradfitz bradfitz closed this Jun 24, 2017

@golang golang locked and limited conversation to collaborators Jun 24, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.