goalng的一些问答小知识
golang如何升级? 例如从16->17
go version
go version go1.16.4 windows/amd64
golang如何利用win32api?
众所众知,python使用win32api的方式非常简单,不知道golang如何使用win32api。
golang好像是可以通过
“syscall”
“unsafe”
这两个包实现调用windows的一些api.
The Win32 API (also called the Windows API) is the original platform for native C/C++ Windows applications that require direct access to Windows and hardware. It provides a first-class development experience without depending on a managed runtime environment like .NET and WinRT (for UWP apps for Windows 10). This makes the Win32 API the platform of choice for applications that need the highest level of performance and direct access to system hardware.
https://docs.microsoft.com/en-us/windows/win32/desktop-programming 这个连接虽然是给c++开发者写的,但是接口其他语言稍微改改应该也能用。