diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,6 +11,8 @@ import ( const ( dburl = "localhost" dropOldDB = true + + whoisServer = "whois.cymru.com" ) type Person struct { @@ -25,7 +27,7 @@ func main() { } func whoistest() { - result, err := whois.Whois("109.105.104.100", "whois.cymru.com") + result, err := whois.Whois("123.123.123.123", whoisServer) if err != nil { panic(err) } |
