golang讲解(go语言)标准库分析之os(5) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们继续os包分析~~~木有废话~~ (1)os.Rename()... Go语言 2014年01月02日 0 点赞 0 评论 2771 浏览
GO(golang)语言学习(1) 1.导入包,一个主函数中只有一个main函数,包含一个main包,主函数中我们要申明main的包! package main func main(){ } 2.引入包文件,... Go语言 2013年08月02日 0 点赞 0 评论 2291 浏览
golang讲解(go语言)标准库分析之strings结束篇 今天我们完结了这个strings的包,其实我们就剩下了type Reader和type Replacer这个我们之间讲过io的包,这样大家理解起来就比较省劲了! ... Go语言 2014年01月20日 0 点赞 0 评论 4043 浏览
golang讲解(go语言)标准库分析之os(6) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们讲golang标准库的os包type File struct{},还是... Go语言 2014年01月03日 0 点赞 0 评论 2803 浏览
GO语言学习之数组 1.申明一个数组 var a[2] int 或者 a:=[2]int{1,2} 2.数组索引 数组就是索引的来建立如下图 我们再来一个测试 3.go语言可以自动计算数组... Go语言 2013年08月03日 0 点赞 0 评论 2327 浏览
golang讲解(go语言)标准库分析之os/user os/signal (os包完结篇) 今天我们讲golang os包的最后两个包user、signal os/user包 (1)type UnknownUserError string其中这个里边有一个方法func (e UnknownUserError... Go语言 2014年01月07日 3 点赞 0 评论 2930 浏览