golang讲解(go语言)标准库分析之os(1) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们分析的是golang的os包,为什么今天不分... Go语言 2013年12月28日 1 点赞 0 评论 3231 浏览
GO语言学习之数组 1.申明一个数组 var a[2] int 或者 a:=[2]int{1,2} 2.数组索引 数组就是索引的来建立如下图 我们再来一个测试 3.go语言可以自动计算数组... Go语言 2013年08月03日 0 点赞 0 评论 3053 浏览
golang讲解(go语言)标准库分析之io完结篇 今天我们继续讲golang标准库的io库,我们今天就把io库就讲完了,所以就不多说了,让给我们的讲解和代码 [1]type Reader type Reader... Go语言 2014年01月10日 0 点赞 0 评论 3869 浏览
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 评论 3493 浏览
Go语言结构struct(普及golang) 1.struct 简洁 这个的struct和C语言的很相似,模拟出class的功能,但是不完全的!没有构造函数等! 2.struct的申明 package main impor... Go语言 2013年12月09日 0 点赞 0 评论 3141 浏览
golang讲解(go语言)标准库分析之os/exec [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们讲os/exec包,这个我就不废话了 (1)func Look... Go语言 2014年01月06日 0 点赞 0 评论 3890 浏览
golang讲解(go语言)标准库分析之os(3) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天人我们继续分析os包,这个包其实很多估计还待几... Go语言 2013年12月31日 0 点赞 0 评论 3669 浏览
Go语言结构struct 1.struct 简洁 这个的struct和C语言的很相似,模拟出class的功能,但是不完全的!没有构造函数等! 2.struct的申明 package main import ... Go语言 2013年08月07日 0 点赞 0 评论 3030 浏览
Golang 中的 cgo 使用方法,调用 mysql 库为案例 Golang 中关于 cgo 的文档比较少,所以我绝对写个简单的案例,这里用 Mysql 做案例,一种是调用C里边的函数,一种是完全用 golang 来点用 mysql ... Go语言 2016年02月01日 3 点赞 0 评论 9847 浏览
golang讲解(go语言)标准库分析之io.ioutil [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们讲解的是golang标准库里边的io/ioutil包--... Go语言 2013年12月27日 0 点赞 0 评论 3323 浏览