From db75469df68784733ead1b493a43dcc864e74241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Wed, 21 Sep 2022 17:09:34 +0800 Subject: [PATCH] - update --- const.go | 2 +- is.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/const.go b/const.go index f9989bb..f028f30 100644 --- a/const.go +++ b/const.go @@ -1,3 +1,3 @@ package goip -const Version = "1.0.37" +const Version = "1.0.38" diff --git a/is.go b/is.go index dc10d6e..d59fe30 100644 --- a/is.go +++ b/is.go @@ -38,6 +38,7 @@ func (c *Client) isIpv4OrIpv6(ip string) string { return "" } +// IsIp 是否ip func IsIp(ipStr string) string { if ipStr == "" { @@ -69,6 +70,7 @@ func IsIp(ipStr string) string { return "" } +// IsIpConsistent 两个ip是否一致 func IsIpConsistent(ipStr1, ipStr2 string) bool { ip1Result := IsIp(ipStr1)