纯新人求助,win10运行go程序失败

Yinogi · 2021-01-20 17:14:59 · 1184 次点击

你的代码依赖 cgo, 但是你的 pc 上又没有 c 的编译环境,所以报这个问题。

https://blog.csdn.net/panshiqu/article/details/53788067

可以试试 set CGO_ENABLED=0

#1