1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00
godns/dns_handler_test.go
2016-05-11 16:09:17 +08:00

16 lines
222 B
Go

package main
import (
"testing"
)
func Test_get_current_IP(t *testing.T) {
ip, _ := get_currentIP("http://members.3322.org/dyndns/getip")
if ip == "" {
t.Log("IP is empty...")
} else {
t.Log("IP is:" + ip)
}
}