code: func NetIP() string {
  	addrs, err := net.InterfaceAddrs()
  	if err != nil {
  		return ""
  	}
  	for _, addr := range addrs {
  		ip := addr.String()
  		if ip != "127.0.0.1" {
  			return ip
  		}
  	}
  	return ""
  }
docs: // NetIP returns the primary IP address of the system or an empty string.