golang讲解(go语言)标准库分析之io(2) 今天我们继续讲golang的io的标准库 [1]type PipeReader type PipeReader struct { // contains filtered or unexported ... Go语言 2014年01月09日 0 点赞 0 评论 3737 浏览
GO语言学习之数组 1.申明一个数组 var a[2] int 或者 a:=[2]int{1,2} 2.数组索引 数组就是索引的来建立如下图 我们再来一个测试 3.go语言可以自动计算数组... Go语言 2013年08月03日 0 点赞 0 评论 3313 浏览
golang基础知识 今天说一些golang的基础知识,还有你们学习会遇到的问题,先讲解hello word package main import "fmt" func main() { fmt.... Go语言 2013年07月12日 0 点赞 0 评论 3384 浏览
golang讲解(go语言)标准库分析之os(5) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们继续os包分析~~~木有废话~~ (1)os.Rename()... Go语言 2014年01月02日 0 点赞 0 评论 3851 浏览
golang讲解(go语言)标准库分析之strings(2) 其实我也不明白是什么让我坚持下来一点一点的分析pkg包,但是分析的时候我感觉还是很高兴的!今天我们继续strings包 (1)func Index... Go语言 2014年01月16日 0 点赞 0 评论 3931 浏览
Go语言结构struct 1.struct 简洁 这个的struct和C语言的很相似,模拟出class的功能,但是不完全的!没有构造函数等! 2.struct的申明 package main import ... Go语言 2013年08月07日 0 点赞 0 评论 3278 浏览