Go Language development tool Liteide
Liteide is an open-source, cross-platform, lightweight go Language integrated development environment (IDE).
Supported Operating systems
- Windows x86 (32-bit or 64-bit)
- Linux x86 (32-bit or 64-bit)
: http://sourceforge.net/projects/liteide/files/
Source Address: Https://github.com/visualfc/liteide
Eclipse
Eclipse is also a very common development tool, and the following describes how to use Eclipse to write go programs.
Eclipse edit Go's main interface
- First download and install Eclipse.
- Download Goclipse Plugin Http://code.google.com/p/goclipse/wiki/InstallationInstructions
Download Gocode, code completion tips for Go
Gocode's GitHub Address:
HTTPS://github.com/nsf/gocode
To install git under windows, you typically use Msysgit
Install again under cmd:
Get-u GitHub. COM/NSF/gocode
You can also download the code and compile it directly with go build, which will generate Gocode.exe
- Download the MinGW and install it as required.
- Configure Plug-ins
Windows->reference->go
(1). Configure the Go Compiler
Set some basic information for go
(2). Configure Gocode (optional, code completion), set the Gocode path to the previously generated Gocode.exe file
Setting Gocode Information
(3). Configure GDB (optional, do a tune trial), set the GDB path to the Gdb.exe file in the MinGW installation directory
Set GDB information
Whether the test was successful
Create a new Go project and build a hello.go. Such as:
New Project Edit File
Debug as follows (to debug with input commands in the console):
Figure 1.16 Debug Go Program
Go Language Development tools