May 11, 2021 Go
LiteIDE is an open source, cross-platform lightweight Go language integration development environment (IDE).
Download address: http://sourceforge.net/projects/liteide/files/
Source address: Https://github.com/visualfc/liteide
Eclipse is also a very common development weapon, and here's how to use Eclipse to write a Go program.
Eclipse edits Go's main interface
Download gocode for go's code-filling tips
gocode's github address:
https://github.com/nsf/gocode
To install git under windows, usually with msysgit
Install again under cmd:
go get -u github.com/nsf/gocode
You can also download the code, compile it directly with go build, and generate a .exe
Windows->Reference->Go
(1). Configure Go's compiler
Set up some basic information about Go
(2) Configure Gocode (optional, code complement) and set the Gocode path as a previously generated .exe file
Set up gocode information
(3) Configure GDB (optional, for debugging), set the GDB path for the gdb file in the MingW .exe directory
Set up GDB information
The test was successful
Build a new go project, and then a hello.go. H ere's the picture:
Create a new project edit file
Debug is as follows (to debug in console with input commands):
Figure 1.16 Debug the Go program