summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Langesten <daniel.langest@gmail.com>2015-02-24 14:37:54 +0100
committerDaniel Langesten <daniel.langest@gmail.com>2015-02-24 14:37:54 +0100
commit41b47b10f7bfc038a1c00e09b32b1ea24ece2f16 (patch)
treeee9d7613680178efed341bcb13e6acaa85463953
parent97c111bafcf4c9009056de73b1870645bd910d15 (diff)
parentac3071a388793df40ba03201002252b12f8fd46e (diff)
merge conflict solved
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 6626d98..1cb0380 100644
--- a/main.go
+++ b/main.go
@@ -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)
}