Cosmos SDK编译

栏目: Go · 发布时间: 6年前

在安装SDK时报错,缺少包的引用

#Install the app into your $GOBIN

make install

go环境变量

export GOROOT=/usr/local/go

export GOPATH=/root/go

export PATH=$PATH:$GOROOT/bin

GOROOT为安装目录   GOPATH为工作目录

golang 在 github 上建立了一个镜像库,下载github上的镜像库放入GOPATH下即可

```

mkdir -p $GOPATH/src/golang.org/x

cd $GOPATH/src/golang.org/x

git clone https://github.com/golang/sys.git

git clone https://github.com/golang/sync.git

git clone https://github.com/golang/text.git

git clone https://github.com/golang/net.git

git clone https://github.com/grpc/grpc-go.git $GOPATH/src/google.golang.org/grpc

```

git clone https://github.com/golang/net.git $GOPATH/src/golang.org/x/


以上所述就是小编给大家介绍的《Cosmos SDK编译》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

George F. Luger、William A Stubblefield / Addison Wesley / 2008-09-04 / USD 22.20

This book is designed for three primary purposes. The first is as a programming language component of a general class in Artificial Intelligence. From this viewpoint, the authors see as essential that......一起来看看 《AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and 》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具