This is a creation in Article, where the information may have evolved or changed.
Go-lang Development Environment Construction
SDK installation
SDK Download
Can be the last officer Web download, you can also choose to download Go-lang China.
SDK installation
Direct installation, nothing special, set environment variables after installation is complete
- Goroot = D:\Go\bin
- Gopath = D:\Go\bin
- PATH = Xxxxxx;d:\go\bin
Test whether the installation was successful
C:\users\closer>go version
Go version go1.5.1 windows/amd64
IDE Installation
Choose Idea as the IDE and download it from the website.
After the installation is complete, go to plugin for IntelliJ to see the specific installation instructions and the address of the plugin library.
- Open idea and select Pluginsin the Settings window;
- Click Browse repositories;
- In the Browse repositories window, click Manage repositories;
- Click +to paste in the corresponding version of the plugin.
such as: https://plugins.jetbrains.com/plugins/alpha/5047
Of course, you can also modify the idea.properties file directly.
idea.plugin.hosts=[URL1];[URL2];...[URLn]