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/