HyperLeDger Fabric Chaincode-无法导入github.com/hyperledger/fabric-contract-api-go/contractapi
我是HyperLeDger面料的新手,当我遵循 HyperLeDger Fabric链尺寸链架教程,GO导入的失败如下。如何解决?谢谢你! Hyperledger织物版本为2.4。 GO版本为1.18。
I am new to Hyperledger Fabric and when I followed the Hyperledger Fabric chaincode tutorial, the go importing failed as below. How to solve it? Thank you! The Hyperledger Fabric version is 2.4. Go version is 1.18.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这听起来更像是一个关于依赖关系的一般 golang 问题,而不是特定于 hyperledger 结构的任何问题,因此也许值得阅读有关 go 模块依赖关系的内容,例如 https://go.dev/doc/modules/managing-dependencies
This sounds like its more of a general golang question about dependencies than anything specific to hyperledger fabric, so maybe worth reading about go module dependencies for example https://go.dev/doc/modules/managing-dependencies