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

13 lines
178 B
Go

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