fix golint issues in core/netx (#501)

master
Kevin Wan 4 years ago committed by GitHub
parent bbb9126302
commit 221f923fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,7 @@ package netx
import "net" import "net"
// InternalIp returns an internal ip.
func InternalIp() string { func InternalIp() string {
infs, err := net.Interfaces() infs, err := net.Interfaces()
if err != nil { if err != nil {

Loading…
Cancel
Save