Browse Source

fix golint issues in core/netx (#501)

Kevin Wan 5 năm trước cách đây
mục cha
commit
221f923fae
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/netx/ip.go

+ 1 - 0
core/netx/ip.go

@@ -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 {