likexian / whois

Whois client for domain and ip whois information query in Go(Golang).
Apache License 2.0
382 stars 70 forks source link

Add support for disabling referral chasing #4

Closed akissa closed 6 years ago

akissa commented 6 years ago

Add an option to allow disabling of referral chasing.

This is useful in two use cases.

  1. You are only interested in the registration info and dates not the owner.
  2. Some whois servers return inconsistent information when the referral server is queried. An example is whois.namebright.com the update dates there are incorrect but correct in the brief info returned from com.whois-servers.net
likexian commented 6 years ago
  1. don't reformat the code style, use 4 spaces instead of tab.
  2. ci tests failed.

sorry, i will close this pull request.

akissa commented 6 years ago
  1. Seriously we are still on the spaces vs tabs bs ? - https://github.com/golang/go/issues/16256
  2. Tests pass, the failed test is because the binary being built points to the old source https://github.com/likexian/whois-go/blob/master/whois/main.go#L16

Anyway no sweat i will just use my fork.

likexian commented 6 years ago
  1. Seriously, github is open, it allow me using spaces.
  2. keep your fork is always welcome.