diff --git a/ipgeo/ipapicom.go b/ipgeo/ipapicom.go index fd4cbc2..310d7a8 100644 --- a/ipgeo/ipapicom.go +++ b/ipgeo/ipapicom.go @@ -38,6 +38,6 @@ func IPApiCom(ip string) (*IPGeoData, error) { Country: res.Get("country").String(), City: res.Get("city").String(), Prov: res.Get("regionName").String(), - Isp: res.Get("isp").String(), + Owner: res.Get("isp").String(), }, nil } diff --git a/ipgeo/ipinfo.go b/ipgeo/ipinfo.go index 5da1429..4433248 100644 --- a/ipgeo/ipinfo.go +++ b/ipgeo/ipinfo.go @@ -31,6 +31,6 @@ func IPInfo(ip string) (*IPGeoData, error) { Country: country, City: res.Get("city").String(), Prov: res.Get("region").String(), - Isp: res.Get("asn").Get("domain").String(), + Owner: res.Get("asn").Get("domain").String(), }, nil } diff --git a/ipgeo/ipsb.go b/ipgeo/ipsb.go index 873dea4..cf79470 100644 --- a/ipgeo/ipsb.go +++ b/ipgeo/ipsb.go @@ -37,6 +37,6 @@ func IPSB(ip string) (*IPGeoData, error) { Country: res.Get("country").String(), City: res.Get("city").String(), Prov: res.Get("region").String(), - Isp: res.Get("isp").String(), + Owner: res.Get("isp").String(), }, nil }