执行go mod tidy 报错

Go项目报错:xx not in GOROOt_解决方案

解决方案

根本原因是sdk里面没有这个东西,升级一下就好了。可以直接升级到最新版:16.即可解决