geolocate: first pass of code review and minor fixes (#359)
* doc(geolocate): minor cleanup * more minor cleanups of geolocate * remove disabled test and see whether now it works
This commit is contained in:
parent
3cb6c7c6fb
commit
f271e71c0b
7 changed files with 29 additions and 38 deletions
|
|
@ -28,7 +28,7 @@ func (mmdbLookupper) LookupASN(ip string) (asn uint, org string, err error) {
|
|||
}
|
||||
|
||||
// LookupASN returns the ASN and the organization associated with the
|
||||
// given ip using the ASN database at path.
|
||||
// given IP address.
|
||||
func LookupASN(ip string) (asn uint, org string, err error) {
|
||||
return (mmdbLookupper{}).LookupASN(ip)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue