老师,我用的云主机无法科学上网。所以go get -u github.com/gin-gonic/gin@v1.8.1很慢,还会有这种错误(protocol error: received DATA after END_STREAM)
具体如下
[root@master01 kubeimooc]# go get -u github.com/gin-gonic/gin@v1.8.1
^C
[root@master01 kubeimooc]# export GOPROXY=https://goproxy.io,direct
[root@master01 kubeimooc]# go get -u github.com/gin-gonic/gin@v1.8.1
go: downloading github.com/gin-gonic/gin v1.8.1
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.14
protocol error: received DATA after END_STREAM