Closed this issue 5 years ago · 1 comments
问题: 无外网情况下,使用了vendor管理依赖包。
建议: gf run 编译时,添加mod=vendor参数,支持根据vendor目录编译。
@linklin7 请下载最新gf工具,使用gf run main.go -mod=vendor
gf
gf run main.go -mod=vendor