增加一些注释、测试等

This commit is contained in:
刘祥超
2021-01-21 11:00:46 +08:00
parent 25e75d9078
commit ec47fc560c
4 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package utils
import "testing"
func TestIP2Long(t *testing.T) {
t.Log(IP2Long("0.0.0.0"))
t.Log(IP2Long("1.0.0.0"))
t.Log(IP2Long("0.0.0.0.0"))
}