master v1.0.38
李光春 2 weeks ago
parent 18b8be2356
commit db75469df6
  1. 2
      const.go
  2. 2
      is.go

@ -1,3 +1,3 @@
package goip
const Version = "1.0.37"
const Version = "1.0.38"

@ -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)

Loading…
Cancel
Save