我已经编写了带有for循环的go代码,代码如下。但是当我构建代码时,我得到“continueisnotwithinloop”。我不明白为什么会这样。请帮忙去版本:goversiongo1.7.5linux/amd64完整代码在下面的链接https://pastebin.com/0ZypMYVK引用截图fork:=0;k错误./hashcode.go:88:continueisnotinaloop 最佳答案 你的问题在这里://pushsinglecodeontheblockfunc(s*SmartContract)pushCode(