the project structure modified and new features added

This commit is contained in:
MDK
2023-09-26 14:12:04 +08:00
parent 4fcf28804c
commit 4c63d78e4e
14 changed files with 174 additions and 47 deletions

View File

@@ -6,8 +6,5 @@ import (
func IsValidIP(ip string) bool {
res := net.ParseIP(ip)
if res == nil {
return false
}
return true
return res != nil
}