yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  go

摘要:Go 测试单个方法 gotest.go package mytest import ( "errors" ) func Division(a, b float64) (float64, error) { if b == 0 { return 0, errors.New("除数不能为0") } ret 阅读全文
posted @ 2018-05-28 14:44 xxxxxxxx1x2xxxxxxx 阅读(1019) 评论(0) 推荐(0)

摘要:go命令教程: http://wiki.jikexueyuan.com/project/go-command-tutorial/0.5.html Go测试 Go测试 第一个测试 “Hello Test!” 首先,在我们$GOPATH/src目录下创建hello目录,作为本文涉及到的所有示例代码的根目 阅读全文
posted @ 2018-05-10 13:56 xxxxxxxx1x2xxxxxxx 阅读(380) 评论(0) 推荐(0)

摘要:Golang优秀开源项目汇总(持续更新。。。)我把这个汇总放在github上了, 后面更新也会在github上更新。 https://github.com/hackstoic/golang-open-source-projects 。 欢迎fork, star , watch, 提issue。 资料 阅读全文
posted @ 2018-05-08 20:08 xxxxxxxx1x2xxxxxxx 阅读(4938) 评论(0) 推荐(0)

摘要:go/golang main() init()方法的调用 u011156212 · 2015-10-20 13:00:05 · 9965 次点击 · 预计阅读时间 1 分钟 · 27分钟之前 开始浏览 go/golang main() init()方法的调用 这是一个创建于 2015-10-20 1 阅读全文
posted @ 2018-05-08 00:42 xxxxxxxx1x2xxxxxxx 阅读(1027) 评论(0) 推荐(0)

摘要:Go语言的9大优势和3大缺点 Go语言的9大优势和3大缺点 转用一门新语言通常是一项大决策,尤其是当你的团队成员中只有一个使用过它时。今年 Stream 团队的主要编程语言从 Python 转向了 Go。本文解释了其背后的九大原因以及如何做好这一转换。 Go的优势 原因 1:性能 Go 极其地快。其 阅读全文
posted @ 2018-04-06 21:11 xxxxxxxx1x2xxxxxxx 阅读(47252) 评论(1) 推荐(4)

摘要:# Golang 开发技能图谱 ## Go 语言环境搭建- Go 安装- GOPATH 与工作空间- Go 命令- Go开发工具 ## GO 语言编程基础- 关键词和语法(Language Syntax)- 数据类型(Arrays, Slices and Maps)- 流程控制(if/else,fo 阅读全文
posted @ 2017-08-27 19:32 xxxxxxxx1x2xxxxxxx 阅读(493) 评论(0) 推荐(0)

摘要:Go 语言开发工具 LiteIDE LiteIDE是一款开源、跨平台的轻量级Go语言集成开发环境(IDE)。 支持的操作系统 Windows x86 (32-bit or 64-bit) Linux x86 (32-bit or 64-bit) 下载地址 :http://sourceforge.ne 阅读全文
posted @ 2017-01-11 22:42 xxxxxxxx1x2xxxxxxx 阅读(232) 评论(0) 推荐(0)