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)