This is a created article in which the information may have evolved or changed.
Author's machine for Mac OS
Users first need to install the Golang environment on their personal machine, in detail can refer to Hyperledger fabric 1.0.5 distributed Deployment (a) installation Golang part.
Then users need to login idea's official website to download the new Golang plugin, download address: Idea Golang Plugin
- Installing the Golang Plugin
After you open the idea tool, you can select "Configure", "Plugins"
Select "Install plugin from disk." and select the idea Golang plugin compression package that you just downloaded (note: The compression pack does not need to be decompressed).
If a user downloads a plugin that cannot be installed directly, it is possible that the idea version and the plugin version do not match, and the user can choose to download it directly from idea.
No matter which way the user installs the Golang plugin, after installing the new plugin for idea, you need to restart idea to load the new plugin functionality.
When the user restarts idea, if you choose to create a new project, you can see the options for the Go project in the left navigation bar.
When the user first creates a new Go project, they also need to fill in the Golang environment information correctly after clicking "Next".
Reference blog:
https://studygolang.com/articles/5800