Skip to content

ToryZhou/go-start

Repository files navigation

Welcome to go start

  • Web 时代是Java
  • Machine Learning 时代是Python
  • Block Chain 时代是 Golang

语法->应用->算法->设计模式->区块链

Idea config guide

1.在idea安装 go 语言插件

settings->plugins->browse repositories->go->install

2.下载go语言环境

下载 golang

3.copy到program目录并解压

tar xvf go1.10.1.linux-amd64
export PATH=$PATH:/home/toryzhou/Program/go1.10.1.linux-amd64/go/bin

4.设置go sdk 到go目录

/home/toryzhou/Program/go1.10.1.linux-amd64/go
Setup GOROOT //go的安装目录

5.设置运行目录到项目地址

Configure GOPATH //项目path设置项目所在目录
The Go path is used to resolve import statements.
go get {import}, To download the import into the GO path

go env GOPATH
go get github.com/hyperledger/fabric/core/chaincode/shim

素材来源于

About

Easy to learn golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published