摘要: Go语言中的布尔类型与其他语言基本一致,关键字也为bool,可赋值为预定义的true和false示例代码如下:var v1 bool v1 = true v2 := (1 == 2) // v2也会被推导为bool类型 //from http://www.cnblogs.com/osfipin/布尔... 阅读全文
posted @ 2015-10-07 11:38 osfipin 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: 目前这方面的资料相对较少,自己手动整理汇集。第一章:安装第一节:下载go语言第二节:windows 安装 go语言第三节:第二章:基本语法第一节:类型。 阅读全文
posted @ 2015-10-06 17:43 osfipin 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Go 语言中包括以下内置基础类型:布尔型:bool整型:int int64 int32 int16 int8 uint8(byte) uint16 uint32 uint64 uint浮点型:float32 float64复数型:complex64 complex128字符串:string字符型:r... 阅读全文
posted @ 2015-10-06 17:34 osfipin 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 我们在使用传统的强类型语言编程时,经常会出现这种情况,即在调用函数时为了获取一个值,却因为该函数返回多个值而不得不定义一堆没用的变量。在Go中这种情况可以通过结合使用多重返回和匿名变量来避免这种丑陋的写法,让代码看起来更加优雅。假设GetName()函数的定义如下,它返回3个值,分别为firstNa... 阅读全文
posted @ 2015-10-06 17:25 osfipin 阅读(339) 评论(0) 推荐(0) 编辑
摘要: LiteIDE is a simple, open source, cross-platform Go IDE.LiteIDE是一款开源、跨平台的轻量级Go语言集成开发环境(IDE)。项目地址:https://github.com/visualfc/liteide下载地址:http://source... 阅读全文
posted @ 2015-10-06 11:47 osfipin 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: 这个比较简单的 一路next。查看:解压版安装go。//http://www.cnblogs.com/osfipin/ 阅读全文
posted @ 2015-10-06 11:18 osfipin 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 目前官网可以在国内打开了,可以直接通过官网下载。 以下废弃。 国内官方网站无法打开。放在了百度云中,定期会更新: go语言最新版本:1.5.1。 19 August 2015。 阅读全文
posted @ 2015-10-06 10:50 osfipin 阅读(4107) 评论(2) 推荐(0) 编辑
摘要: 版本维护:5.2:维护至:2011-01-06。支持:xp(2003)以上。最终版本:5.2.17。5.3:维护至:2014-08-14。支持:xp(2003)以上。最终版本:5.3.295.4:维护至:2015-09-14。支持:xp(2003)以上。最终版本:5.4.455.5:维护至:2016... 阅读全文
posted @ 2015-09-20 14:08 osfipin 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 1.去官网(https://www.python.org/downloads/)下载软件。2.运行安装程序:下一步 next。下一步 next全部选中,下一步 next。安装中。。来自:http://www.cnblogs.com/osfipin/安装中。。。安装结束 finish。。开始菜单中出现... 阅读全文
posted @ 2015-09-11 20:54 osfipin 阅读(1652) 评论(0) 推荐(0) 编辑
摘要: 继续翻译中。。。。The syntax of thepyinstallercommand is:pyinstaller [options] script [script ...] | specfile//You may give a path to the script or spec file, ... 阅读全文
posted @ 2015-08-23 16:56 osfipin 阅读(1684) 评论(0) 推荐(0) 编辑
我是底部