host_test.go 130 B

1234567891011
  1. package util
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func TestAllIPV4(t *testing.T) {
  7. fmt.Println(AllIPV4())
  8. fmt.Println(GetLocalIP())
  9. }