运行gin框架报错如下:

package google.golang.org/protobuf/encoding/protojson: unrecognized import path "google.golang.org/protobuf/encoding/protojson"(https fetch: Get https://google.golang.org/protobuf/encoding/protojson?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package google.golang.org/protobuf/encoding/prototext: unrecognized import path "google.golang.org/protobuf/encoding/prototext"(https fetch: Get https://google.golang.org/protobuf/encoding/prototext?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)

缺少protobuf/encoding包引起的报错,代码已经转移到github上面了,但代码里面的包依赖还是没有修改,是google.golang.org这种,被墙后不能用go get形式安装。

---阅读剩余部分---