1
0
Fork 0
This commit is contained in:
Henrik Hautakoski 2023-12-07 19:18:03 +01:00
parent bd3aa5e948
commit 0f21902ffd
11 changed files with 96 additions and 80 deletions

View file

@ -8,7 +8,7 @@ import (
"strings"
httputils "dnsupdater/http"
"dnsupdater/ip"
"dnsupdater/ip/internal"
)
type Service struct {
@ -35,5 +35,5 @@ func (s Service) Lookup(ctx context.Context) (net.IP, error) {
// Trim spaces and stuff.
ip_str := strings.TrimSpace(string(body))
return ip.ParseIP(ip_str)
return internal.ParseIP(ip_str)
}