is there a possibility to catch windows shutdown\logoff events using go code?
I've tried c_go winApi code, but it did not work in some cases.