Cosmos SDK编译

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

在安装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编译》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

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

Web Security Testing Cookbook

Web Security Testing Cookbook

Paco Hope、Ben Walther / O'Reilly Media / 2008-10-24 / USD 39.99

Among the tests you perform on web applications, security testing is perhaps the most important, yet it's often the most neglected. The recipes in the Web Security Testing Cookbook demonstrate how dev......一起来看看 《Web Security Testing Cookbook》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换