mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
Commit from m3o/m3o action
This commit is contained in:
2
ip/ip.go
2
ip/ip.go
@@ -18,8 +18,10 @@ type IpService struct {
|
||||
|
||||
// Lookup the geolocation information for an IP address
|
||||
func (t *IpService) Lookup(request *LookupRequest) (*LookupResponse, error) {
|
||||
|
||||
rsp := &LookupResponse{}
|
||||
return rsp, t.client.Call("ip", "Lookup", request, rsp)
|
||||
|
||||
}
|
||||
|
||||
type LookupRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user