From 221f923fae1444424a4f0dafc0361e6cae33873d Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Mon, 22 Feb 2021 09:56:56 +0800 Subject: [PATCH] fix golint issues in core/netx (#501) --- core/netx/ip.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/netx/ip.go b/core/netx/ip.go index 172e246e..6081b3fd 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 {