There is a Windows API function I need to call from Golang:
INetworkListManager::GetConnectivity
I've read through the docs here:
https://github.com/golang/go/wiki/WindowsDLLs
But it's still not clear to me how I would call this API. How would I do it, and use the result to check for internet connectivity?