GO Windows is installed with the

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

See many more complex on the web with the go tutorials that are installed on the window

So this time the system to learn about Google's Go language discovery used particularly convenient for some small program development

Almost the same performance compared to C + + (personal opinion)

The following will be sent to the go installation and use

Download https://golang.org/dl/

CMD->go or set go or go env

Jump out of the following sentence installation success

Go is a tool for managing go source code.

You can start testing here.

Sublime editor with download connection bar http://www.sublimetext.com/

Hello.go

package main   import func main () {      fmt. Println ( " Hello, world! " " }

Save the above program to Hello.go and then execute it on the command line:

Go run Hello.go the results are out!

And the Go language can also compile the GO program directly into EXE, and then publish it, more convenient than Python (need to use py2exe), only need to run on the command line:

Go build hello.go can see and execute the compiled exe.

Of course, Eclipse +goclipse is okay.

    1. Download and install the latest JRE on the http://java.com/
    2. Download the latest eclipse from http://www.eclipse.org/and unzip it

Just downloaded eclipse is not support go, in order to allow it to support the go language, we need to install a plugin: Goclipse.
Project Address: https://code.google.com/p/goclipse/

The installation process is simple, just add a source in eclipse: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/, and then check Goclipse to install

After installation, restart Eclipse, and we can use eclipse to write the Go language program.

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.