我花了好几个小时倾注多个线程寻找解决方案,但我甚至无法确定问题。我对Go来说非常非常新,但我知道它不允许有导入周期,我理解这意味着包a依赖于包b,反之亦然。这是我得到的输出,
C:\Windows\System32\src\github.com\ethereum\go-ethereum>go install -v
import cycle not allowed
package .
imports errors
imports runtime
imports runtime/internal/atomic
imports unsafe
imports runtime
import cycle not allowed
package .
imports github.com/ethereum/go-ethereum/core/types
imports github.com/ethereum/go-ethereum/core/vm
imports github.com/ethereum/go-ethereum/crypto
imports github.com/ethereum/go-ethereum/crypto/ecies
imports github.com/ethereum/go-ethereum/crypto/secp256k1
imports runtime/cgo
imports runtime/cgo
有人可以帮助我至少找出我要找的东西来解决它:/
提前全部谢谢
答案 0 :(得分:0)
要安装此repo,您无需使用项目根目录中的lazy var stackView: UIStackView = {
let stackView: UIStackView = UIStackView(arrangedSubviews: [self.firstView, self.secondView, self.thirdView])
stackView.axis = UILayoutConstraintAxis.vertical
stackView.distribution = UIStackViewDistribution.fillEqually
stackView.alignment = UIStackViewAlignment.fill
stackView.spacing = 10.0
return stackView
}()
。相反,您应该使用get install
有关安装过程如何工作的信息,您可以阅读go-etherenum的Makefile:
有关Mac / Linux / Windows的详细安装说明,请参阅本指南: