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

nil in Variadic function #111

Open
djadala opened this issue Nov 14, 2022 · 0 comments
Open

nil in Variadic function #111

djadala opened this issue Nov 14, 2022 · 0 comments

Comments

@djadala
Copy link

djadala commented Nov 14, 2022

https://github.com/grandcat/zeroconf/blob/e1d6e579e89fc1ca9bb1faee9f2525065d3ca7d7/README.md?plain=1#L33resolver, err :=

zeroconf.NewResolver(nil)
should be
zeroconf.NewResolver()
You don't need to pass nil, (and it should be error to pass nil).

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