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 评论 3891 浏览
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 浏览
GO(golang)语言学习(1) 1.导入包,一个主函数中只有一个main函数,包含一个main包,主函数中我们要申明main的包! package main func main(){ } 2.引入包文件,... Go语言 2013年08月02日 0 点赞 0 评论 2961 浏览
golang讲解(go语言)标准库分析之io(1) 今天我们开新的标准库io也是继续上一次我们没有讲完的标准库,上一次我们只说了io/ioutil这次我们继续开讲整个io库 (1)func Copy(dst Wri... Go语言 2014年01月08日 0 点赞 0 评论 3662 浏览
golang讲解(go语言)标准库分析之os(5) [caption id="attachment_902" align="alignnone" width="300"] Golang标准库[/caption] 今天我们继续os包分析~~~木有废话~~ (1)os.Rename()... Go语言 2014年01月02日 0 点赞 0 评论 3549 浏览
golang读取ini配置文件的方法 好几天没有更新了因为我正在研究一个新的项目,然后很费时,希望到时候得到大家的认可和帮助,这里申明一下希望大家帮助一下,如果您有好的程序... Go语言 2013年11月27日 0 点赞 0 评论 3187 浏览