Gogland is the JetBrains company launched the Go Language integrated development environment. Gogland also based on the IntelliJ platform development, support JetBrains plug-in system. The official version is not yet released. Official:https://www.jetbrains.com/go/. About the use, is about to begin!
First, install the Golang
1) first go to https://golang.org/dl/ to Select the appropriate installation package for your system (inside the wall:http://golangtc.com/download ).
2) Download complete installation to the specified directory. I am here (D:\Go).
3) Configuring Glang environment Variables
Enter My Computer , advanced Settings , environment variables Seeif thegoroot variable exists, and the Path The Goroot is also set in the variable . If not, add a goroot variable and the path will enter the root directory of Go after you have just installed it , as mine is:D:\Go\. Then edit the Path variable and add ";%goroot%bin" to the last face.
go command depends on an environment variable: gopath This is not Go installation directory, but your work (project) directory (your code will be in this directory). gopath can have more than one, windows Use the semicolon ;) linux system is colon ( :) when there are multiple gopath go get Gopath D:\Go\MyGolang, and creating the relevant directory as follows:
4) Restart the operating system and verify by command
Tip: Golang related installation and environment configuration has ended;
Second, installation Gogland
1) Download and install (process slightly)
2) Configuration related
Open "File-settings", pop up the following configuration interface
Tip: You need to configure the Goroot and Gopath paths here. Project Gopath, where you can set up your own projects working directory.
3) Compile and run
If you need to run a single *.go directly right-click on "Run-run", if there are more than one directory to do some configuration, the steps are as follows: Click run–edit configurations, go to Run/debug Configurations Configuration panel.
Gogland configuration using the Go language IDE