1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00
nali/internal/iptools/iptools_test.go
2020-07-17 10:52:36 +08:00

13 lines
180 B
Go

package iptools
import (
"fmt"
"testing"
)
func TestIP4Re(t *testing.T) {
str := "aaa1.1.11.23a36.36.32.200"
fmt.Println(GetIP4FromString(str))
fmt.Println(ValidIP4(str))
}