我安装gin框架,使用命名:
go get github.com/gin-gonic/gin
等待了好久,就是完成不了, 我打开/root/go/src下面,
[root@iZ942k2d5ezZ src]# du -lh --max-depth=1 ./*
3.0M ./github.com/gin-gonic
5.5M ./github.com/ugorji
4.9M ./github.com/golang
1.5M ./github.com/go-sql-driver
752K ./github.com/gin-contrib
16M ./github.com
108K ./gopkg.in/go-playground
112K ./gopkg.in
发现是下载了一些文件,但是不知道为什么一直卡住,不能完成,是因为我哪里搞错了吗?
有疑问加站长微信联系(非本文作者)

gin 是个很重的框架,确实要花很长时间来下载
是centos6的git版本太低,需要卸载git 1.7, 安装git 2.7就解决了
我刚遇到这个坑,解决了,参看我的博文:centos6 安装go框架gin的步骤,以及中间遇到的坑