You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package Test
|
|
|
|
import (
|
|
"dsBaseWeb/Utils/IpUtil"
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
|
|
func TestIpConvert(t *testing.T) {
|
|
i:=IpUtil.StringIpToInt("10.10.14.200")
|
|
fmt.Println(i)
|
|
|
|
fmt.Println(IpUtil.IpIntToString(168431304))
|
|
}
|