
上QQ阅读APP看书,第一时间看更新
Setup
Before we can start writing a GUI with Walk, we need to install the library—this means that Go will be able to compile the code we write, and also that any development environments installed will be able to offer suggestions when writing the code. Simply execute go get github.com/lxn/walk from the Command Prompt. This command will download and install the Walk library to %GOPATH%/src so it can be used in your applications. If you have not set the GOPATH environment variable manually, don't worry, as the Go installer will have set up a default for you (normally %HOMEDRIVE%%HOMEPATH%/go).