Go Language Development tools

Source: Internet
Author: User
Tags windows x86 gocode

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

  1. First download and install Eclipse.
  2. Download Goclipse Plugin Http://code.google.com/p/goclipse/wiki/InstallationInstructions
  3. 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

  4. Download the MinGW and install it as required.
  5. 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

  6. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.