给go添加各种package
x-radish · · 4026 次点击 · · 开始浏览go version 1.1.2
For example you need to install the webscoket pakeage
try
go get code.google.com/p/go.net/websocket
catch
$GOPATH no set?
that you need set the GOPATH in the system environment variables and this path should in golang directory
no Mercurial?
download it
now try go get ... again.
find the file in your GOPATH and make it like golang original file structure src->pkg->* (pkg is added by myself)
有疑问加站长微信联系(非本文作者)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
关注微信- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码` - 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传
收入到我管理的专栏 新建专栏
go version 1.1.2
For example you need to install the webscoket pakeage
try
go get code.google.com/p/go.net/websocket
catch
$GOPATH no set?
that you need set the GOPATH in the system environment variables and this path should in golang directory
no Mercurial?
download it
now try go get ... again.
find the file in your GOPATH and make it like golang original file structure src->pkg->* (pkg is added by myself)