Windows Builds Golang development environment

Source: Internet
Author: User
Tags gocode
This is a creation in Article, where the information may have evolved or changed.

The go language is the second open source programming language Google released in 2009. The go language is optimized for programming multi-processor system applications, with go-compiled programs that are comparable to C or C + + code, and are more secure and support parallel processes.

Go language official: http://golang.org

Go Google project: http://code.google.com/p/go/

1.Golang installation Package

Windows go Language installation package download address Http://code.google.com/p/go/downloads/list?q=OpSys-Windows+Type%3DInstaller

2.Windows API

The first thing to do in the Go Development Windows app is to encapsulate these windows Api:https://github.com/lxn/go-winapi

3.Goclipse IDE

Goclipse is an Eclipse plugin for adding IDE functionality to the Go programming language in the Eclipse development platform. The features offered include:

Syntax Light display
Create a default structure for a new go project and a new go source file
Run Configuration support
Implementing error Reporting in Eclipse
Content assistance via Gocode (Https://github.com/nsf/gocode

Goclipse Update Address: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/

Classic example Hello World.

Package Main

Import "FMT"

func Main () {
Fmt. Println ("Hello World")
}

Save As Hello.go

Compiling go build hello.go

Run go run hello.go

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.