update-ip/resolve_test.go
2024-07-24 15:38:56 +02:00

14 lines
183 B
Go

package updateip
import "testing"
func TestResolveCurrentIP(t *testing.T) {
r := new(Ipify)
v, err := r.CurrentIP()
if err != nil {
t.Error(err)
}
t.Log("current IP:", v)
}