2
goland 编辑器没有渲染出错误,运行时报错 undefined
source link: https://www.v2ex.com/t/794415
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
windows 64 位
就是编辑器内没有报错(变红),但是运行时报错 undefined
手动调用过 go build 一样的错误,就算把这里的代码移走,别的地方一样报 undefined
goland 编译为目录编译,感觉不是这个问题,以前都没问题,goland 重启过了,还是报错
感觉是包管理的问题
我都没怎么动代码,过了一会儿再来运行一下就这样了
网上搜遍了,好像没有这种情况..
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK