golang讲解(go语言)标准库分析之strings结束篇 今天我们完结了这个strings的包,其实我们就剩下了type Reader和type Replacer这个我们之间讲过io的包,这样大家理解起来就比较省劲了! ... Go语言 2014年01月20日 0 点赞 0 评论 1759 浏览
golang讲解(go语言)标准库分析之io(2) 今天我们继续讲golang的io的标准库 [1]type PipeReader type PipeReader struct { // contains filtered or unexported ... Go语言 2014年01月09日 0 点赞 0 评论 1382 浏览
golang讲解(go语言)标准库分析之os(3) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天人我们继续分析os包,这个包其实很多估计还待几... Go语言 2013年12月31日 0 点赞 0 评论 1374 浏览
GO语言学习之数组 1.申明一个数组 var a[2] int 或者 a:=[2]int{1,2} 2.数组索引 数组就是索引的来建立如下图 我们再来一个测试 3.go语言可以自动计算数组... Go语言 2013年08月03日 0 点赞 0 评论 1042 浏览
golang讲解(go语言)标准库分析之strings(2) 其实我也不明白是什么让我坚持下来一点一点的分析pkg包,但是分析的时候我感觉还是很高兴的!今天我们继续strings包 (1)func Index... Go语言 2014年01月16日 0 点赞 0 评论 1429 浏览
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 评论 1422 浏览
Go语言结构struct 1.struct 简洁 这个的struct和C语言的很相似,模拟出class的功能,但是不完全的!没有构造函数等! 2.struct的申明 package main import ... Go语言 2013年08月07日 0 点赞 0 评论 1030 浏览
Go语言里边的字符串和数组 go语言里边的字符串处理和PHP还有java 的处理是不一样的,首先申明字符串和修改字符串 package main import "fmt" var name ... Go语言 2013年07月13日 0 点赞 0 评论 943 浏览
golang讲解(go语言)标准库分析之io完结篇 今天我们继续讲golang标准库的io库,我们今天就把io库就讲完了,所以就不多说了,让给我们的讲解和代码 [1]type Reader type Reader... Go语言 2014年01月10日 0 点赞 0 评论 1494 浏览
golang讲解(go语言)标准库分析之os(5) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们继续os包分析~~~木有废话~~ (1)os.Rename()... Go语言 2014年01月02日 0 点赞 0 评论 1322 浏览