Configuring the Go compilation environment under Windows

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

1. Download the installation package

You can find the installation method under each platform from the Go Lang homepage:

Home: http://golang.org/#

Installation Documentation: Http://golang.org/doc/install

Go source:http://code.google.com/p/go/

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

I downloaded the MSI package myself, this does not set the environment variable, after the installation of the environment variable set itself

2. Write Helloworld.go code

Package Main

Import "FMT"

Func Main () {
Fmt. Println ("Test")
}

Save As file Helloworld.go

3., run

Go Run helloworld.go

The terminal window will print:

Hello,world

4. Goclipse Eclipse Installation

Installation steps

Http://code.google.com/p/goclipse/wiki/InstallationInstructions

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

Same as the Google ADT plug-in installation

5. "Learning Go Language" Chinese version

http://www.mikespook.com/learning-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.