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
Closed

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

AlmogBaku opened this issue Jun 24, 2017 · 1 comment

Comments

@AlmogBaku
Copy link

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
Copy link
Contributor

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.

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

No branches or pull requests

3 participants