摘要:
1. 安装Homebrewruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"2. 下载sqllite3brew install pkgconfigbrew install sqlite33. 安... 阅读全文
posted @ 2014-07-27 20:34
开心编码源
阅读(3278)
评论(0)
推荐(0)
摘要:
1.0 进入项目创建文件夹 cd $GOPATH/src2.0 创建项目 mkdir localeasy3.0 创建go文件 touch helloworld.go4.0 打开并编辑 open helloworld.gohelloworld.go中... 阅读全文
posted @ 2014-07-27 17:42
开心编码源
阅读(598)
评论(0)
推荐(0)
摘要:
1.0 查看是否存在bash_profilecd ~/.bash_profile2.0 如果不存在则创建bash_profile Mac环境配置文件touch ~/.bash_profile3.0 打开bash_profileopen -t ~/.bash_profile4.0 添加go 环... 阅读全文
posted @ 2014-07-27 17:11
开心编码源
阅读(6530)
评论(0)
推荐(0)
摘要:
1.0 访问下载地址,32位系统下载go1.0.3.darwin-386.pkg,64位系统下载go1.0.3.darwin-amd64.pkg,双击下载文件,一路默认安装点击下一步,这个时候go已经安装到你的系统中,默认已经在PATH中增加了相应的~/go/bin,2.0 这个时候打开命令行终... 阅读全文
posted @ 2014-07-27 16:55
开心编码源
阅读(186)
评论(0)
推荐(0)