From eeeca100784cc9aa0c5e1d89986b2321f41098d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 25 Jun 2022 23:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ip.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip.go b/ip.go index ae3f68d..4864b06 100644 --- a/ip.go +++ b/ip.go @@ -39,12 +39,12 @@ func (i *ip) GetHostIP() string { return hostIP } -// GetRemoteIp 获取远端IP +// GetRemoteIP 获取远端IP // // Author : go_developer@163.com<白茶清欢> // // Date : 5:35 下午 2021/11/22 -func (i *ip) GetRemoteIp(req *http.Request) string { +func (i *ip) GetRemoteIP(req *http.Request) string { // Try via request remoteIP, _, err := net.SplitHostPort(req.RemoteAddr)