Golang currently does not have an official gui package, and the official has no intention of developing go's gui.
The Go language is specially optimized for programming multi-processor system applications. Programs compiled using Go can be as fast as C or C code, are more secure, and support parallel processes. (Recommended Learning: Go )
Three Gao Fushuai Features: Fast operation, development and deployment fast.
GO does not have a native interface library, so it cannot be used directly to write GUI interfaces. But recently, many mature and easy-to-use third-party interface libraries have emerged on the Internet.
Using them, you can also write the same interface as C# and C. And the efficiency is even better.
Third-party gui library
I searched a lot and compared a lot, and finally decided to use
https://github.com /andlabs/ui
I believe golang gui will develop better, and look forward to a better gui library
Since andlabs-ui is written based on andlabs-libuip, it still needs
https://github.com/andlabs/libui
Some other third-party gui libraries can be viewed
http://awesome-go.com/ #gui
Install the gui library
Method 1: You may directly download the zip packages of the ui and libui libraries through the github website, and then put them into your go work directory and then reference it.
Method 2: Directly download to the go working directory by executing the commands go get github.com/andlabs/ui and go get github.com/andlabs/libui.
Method 3: Clone it locally via git, and then put it in the go working directory.
The above is the detailed content of Doesn't golang develop GUI?. For more information, please follow other related articles on the PHP Chinese website!