Archived
增加一些注释、测试等
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
Reference in New Issue
Block a user