Explorar o código

fix golint issues in core/netx (#501)

Kevin Wan %!s(int64=4) %!d(string=hai) anos
pai
achega
221f923fae
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/netx/ip.go

+ 1 - 0
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 {