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

Feature/custom lookup func #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

klingac
Copy link

@klingac klingac commented Jun 18, 2022

This PR enables us option to change Lookup() func, so we
don't need to use only the net.LookupIP().
This will also help with tests.
Thanks to use of custom Lookup(), we can still make tests with
non-existing domains.
Closes #8

This commit enables us option to change `Lookup()` func so we
don't need to use only the `net.LookupIP()`.
This will also help with tests.
Thanks to use of custom `Lookup()`, we can still make tests with
non-existing domains.
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.

Improvement: allow to use custom LookupIP function
1 participant