Прошу прощения, что прерываю вас, ребята, но я хочу знать, как я могу запустить код Hyperledger Fabric изначально.
Я загружаю все Go, Docker, Docker composer, VSCode и эти плагины для Go,И когда я использую go test consensus_test.go
в /orderer/solo
.
Это даст мне ответ, так как я могу запустить этот код?Спасибо.
$fabric@ubuntu:~/go/src/github.com/hyperledger/fabric/orderer/consensus/solo$ go test consensus_test.go
# command-line-arguments
./consensus_test.go:35:26: undefined: pkgLogID
./consensus_test.go:45:48: undefined: chain
./consensus_test.go:74:8: undefined: newChain
./consensus_test.go:95:11: undefined: New
./consensus_test.go:116:8: undefined: newChain
./consensus_test.go:134:8: undefined: newChain
./consensus_test.go:178:8: undefined: newChain
./consensus_test.go:220:8: undefined: newChain
./consensus_test.go:256:8: undefined: newChain
./consensus_test.go:293:8: undefined: newChain
./consensus_test.go:293:8: too many errors
FAIL command-line-arguments [build failed]
fabric@ubuntu:~/go/src/github.com/hyperledger/fabric/orderer/consensus/solo$