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 ""
}
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 ""
}
func NetIP ( ) string { addrs , err := net . InterfaceAddrs ( ) if err != nil { return " " } for _ , addr := range addrs { ip := addr . String ( ) if ip != " " { return ip } } return " " }
// NetIP returns the primary IP address of the system or an empty string.
NetIP returns the primary IP address of the system or an empty string .