Skip to content

Commit 58fba5b

Browse files
committedFeb 23, 2024·
Update ipgeolocation.go
1 parent c2ee01e commit 58fba5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎ip2locationio/ipgeolocation.go

-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ func (a *IPGeolocation) LookUp(ip string, lang string) (IPGeolocationResult, err
146146
var res IPGeolocationResult
147147
var ex IPGeolocationError
148148

149-
// myUrl := "https://" + a.baseUrl + "?key=" + url.QueryEscape(a.configuration.apiKey) + "&ip=" + url.QueryEscape(ip) + "&lang=" + url.QueryEscape(lang) + "&source=" + url.QueryEscape(a.configuration.source) + "&source_version=" + url.QueryEscape(a.configuration.sourceVersion)
150-
151149
myUrl := "https://" + a.baseUrl + "?ip=" + url.QueryEscape(ip) + "&source=" + url.QueryEscape(a.configuration.source) + "&source_version=" + url.QueryEscape(a.configuration.sourceVersion)
152150

153151
if a.configuration.apiKey != "" {

0 commit comments

Comments
 (0)
Please sign in to comment.