I don't know how much of an issue is this but as far as I can see syscall package includes all needed resources to define Control function for windows, so it can save an import there.
"syscall" is mostly deprecated and is collecting bugs at this point. We still use it for the RawConn but that's only because the Control function takes syscall.RawConn as a parameter.
I don't know how much of an issue is this but as far as I can see syscall package includes all needed resources to define Control function for windows, so it can save an import there.