1. Download and install the Go language:
https://golang.org/dl/
Choose the corresponding platform, we recommend using MSI installation package, this will help you configure the environment variables (may need to restart)
The corresponding environment variables are:
Goroot-c:\go\
path-; C:\Go\bin
2. Installation notepad++ no more talking.
3.notepad++ Installation Plugin: GONPP
Run results are displayed on the right side after running
4. Syntax highlighting
(1) Download notepad++ 's Go Language support package (Http://notepad-plus.sourceforge.net/commun/userDefinedLang/go.zip)
(2) Decompression go.zip, get: Userdefinelang_go.xml go.xml
(3) Open the Userdefinelang_go.xml file, remove the first line of the file and the last line of comments, note is to remove the comment is not delete this line
(4) Place the Go.xml in the \plugins\apis folder of the notepad++ directory
(5) Restart notepad++
5. Quick Run
Through GONPP can be compiled in notapad++ run go, shortcut keys are alt+r
6. Command-line compilation run
Execute command in cmd: Go build test.go
The corresponding EXE file will be generated.
Go language notepad++ Simple development environment Building (windows)