diff --git a/core/netx/ip.go b/core/netx/ip.go index 172e246e0..6081b3fd5 100644 --- a/core/netx/ip.go +++ b/core/netx/ip.go @@ -2,6 +2,7 @@ package netx import "net" +// InternalIp returns an internal ip. func InternalIp() string { infs, err := net.Interfaces() if err != nil {