Files
ddns-go/config/netInterface_test.go
2020-12-20 21:25:36 +08:00

14 lines
226 B
Go
Executable File

package config
import (
"testing"
)
func TestGetNetInterface(t *testing.T) {
ipv4NetInterfaces, ipv6NetInterfaces, err := GetNetInterface()
if err != nil {
t.Error(err)
}
t.Log(ipv4NetInterfaces, ipv6NetInterfaces)
}