Go Hello world!

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

Some things should be done when you give up, it means you have to start over again. So Golang Hello world!

Java Android Novice Learn Golang first day!

Go language Download:

Https://golang.org/dl

Go Project Environment configuration:

Gopath:

Mine is on the G-plate G:\GoProject

OK configuration complete wind+r, cmd go env view:

Next Use Run Hello World

New Hello.go file in Goproject is not a txt file Notepad or notepad++ open

Package Main

Import "FMT"

Func Main () {
Fmt. Printf ("hello,girl\n")//Personal habits hehe
}

(Next use sublime Text3 Hello go!

Download Address: Http://www.sublimetext.com/3 Relatively lightweight this is better as good as the memory = =

View + Show console:https://packagecontrol.io/installation#st3 copy Sublime Text 3 part code ENTER.

By the time I installed go sublime, I was stuck.

Forget to use liteide forget the above tools have time to toss it (tomorrow to find the reason for their own)).

Liteide Print Hello World

Reference: HTTPS://GITHUB.COM/ASTAXIE/GO-IN-ACTION/BLOB/MASTER/EBOOK/ZH/02.1.MD

Printing success should be noted that: Http://www.jianshu.com/p/ed44e64b18e4

Thank you: http://blog.csdn.net/dc_726/article/details/46565241

http://studygolang.com/topics/1891

Http://studygolang.com/search?q=Sublime+Text

http://studygolang.com/articles/6484

https://golang.org/

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.