Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux编程 > » 正文

Go语言学习小小记录:快速入门

来源: archimedes_zht 分享至:
1、安装Go环境:http://code.google.com/p/golang-china/wiki/Install

2、语法介绍:http://golang.org/doc/docs.html。Course Notes:Slides from a 3-day course about the Go programming language. A more thorough introduction than the tutorial.
http://golang.org/doc/GoCourseDay1.pdf
http://golang.org/doc/GoCourseDay2.pdf
http://golang.org/doc/GoCourseDay3.pdf

3、学习Go,当然要写很多小例子程序才能真正理解。

编写小例子程序的Makefile原来可以如此简单,不用自己一个一个的写依赖和规则,这个也应该是本文章对于刚接触Go的初学者最有价值的地方了。:)

#begin

include $(GOROOT)/src/Make.inc
TARG=hello
GOFILES=\
    hello.go\

include $(GOROOT)/src/Make.cmd

#end

go文件的依赖关系,go可以通过package来发现(待深入理解)

4、Practical Go Programming:
http://wh3rd.net/practical-go/#(1)  相当精彩的生成短域名的WebService

Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史