From 288aee254f0e59ee8aa8d6690d9ce84ccb18768f Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Tue, 30 May 2023 14:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4:=E8=8E=B7=E5=8F=96GEOIP?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=80=82=E7=94=A8=E4=BA=8Etimeout=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ipgeo/leo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipgeo/leo.go b/ipgeo/leo.go index b27954c..efc45ac 100644 --- a/ipgeo/leo.go +++ b/ipgeo/leo.go @@ -81,8 +81,8 @@ func receiveParse() { } func LeoIP(ip string, timeout time.Duration, lang string, maptrace bool) (*IPGeoData, error) { - //TODO: 根据lang的值请求中文/英文API - //TODO: 根据maptrace的值决定是否请求经纬度信息 + // TODO: 根据lang的值请求中文/英文API + // TODO: 根据maptrace的值决定是否请求经纬度信息 if timeout < 5*time.Second { timeout = 5 * time.Second }