Skip to content

Commit

Permalink
chore: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tiaguinho committed Jun 14, 2019
1 parent 452a9f5 commit 3011673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ func main() {
"sIp": "8.8.8.8",
}

err = soap.Call("GetIpLocation", params)
res, err = soap.Call("GetIpLocation", params)
if err != nil {
log.Fatalf("Call error: %s", err)
}

soap.Unmarshal(&r)
res.Unmarshal(&r)

// GetIpLocationResult will be a string. We need to parse it to XML
result := GetIPLocationResult{}
Expand Down

0 comments on commit 3011673

Please sign in to comment.