调整格式等

This commit is contained in:
刘祥超
2021-07-20 19:01:37 +08:00
parent f38e80e82d
commit dcba9c2f3e
2 changed files with 1 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import (
"strings"
)
// 将IP转换为整型
// IP2Long 将IP转换为整型
// 注意IPv6没有顺序
func IP2Long(ip string) uint64 {
if len(ip) == 0 {