the project structure modified and new features added
This commit is contained in:
@@ -6,8 +6,5 @@ import (
|
||||
|
||||
func IsValidIP(ip string) bool {
|
||||
res := net.ParseIP(ip)
|
||||
if res == nil {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return res != nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user