Mysticbinary

2020年6月11日 #

go mod包管理 加代理下载

摘要: 原始go.mod文件 module xxx go 1.14 报错 i/o timeout go mod init workorder go mod init: go.mod already exists go mod tidy go: finding module for package githu 阅读全文

posted @ 2020-06-11 18:04 Mysticbinary 阅读(882) 评论(0) 推荐(0) 编辑

go 报错 import cycle not allowed

摘要: 运行时报错,import cycle not allowed ; 查了goole大概知道了原因,还是导包类的问题,我检察了一下我的代码库,发现我昨天划分几个工具文件,里面的两个文件相互引用,就导致报import cycle not allowed 错了,这个错误在别的语言上都不会报,基于以前的使用习 阅读全文

posted @ 2020-06-11 12:06 Mysticbinary 阅读(1513) 评论(0) 推荐(0) 编辑

导航