mirror of
https://github.com/jeessy2/ddns-go.git
synced 2026-10-26 11:09:39 +08:00
14 lines
226 B
Go
Executable File
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)
|
|
}
|