我正在尝试使用选项 2(适用于 Mac)编译 chaincode_example02,然后是本指南。除编译代码外,所有步骤均已通过。我有以下错误:
cd $GOPATH/src/github.com/chaincode_example02
go build
chaincode_example02.go:30:2: cannot find package "github.com/hyperledger/fabric/core/chaincode/shim" in any of:
/usr/local/Cellar/go/1.7.1/libexec/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT)
($GOPATH not set)