go leaf相关

2023-01-09  本文已影响0人  ycq_520

1:下载源码

https://www.cnblogs.com/xingchong/p/16664675.html

1:goland cannot find main module, but found

解决方案:

2.下载所需要的库

git clone https://github.com/name5566/leafserver

go get github.com/name5566/leaf  或者  git clone https://github.com/name5566/leaf /root/leafserver/src/github.com/name5566/leaf

go get github.com/golang/protobuf/proto  或者 git clone https://github.com/golang/protobuf /root/leafserver/src/github.com/golang/protobuf

go get gopkg.in/mgo.v2 或者 git clone https://gopkg.in/mgo.v2 /root/leafserver/src/gopkg.in/mgo.v2

上一篇 下一篇

猜你喜欢

热点阅读