用goland打开别人的go项目。可能碰到下面的问题goland cannot find package "server/common/config" in any of:

这是因为没有设置项目的gopath

设置方法

goland 设置project gopathgoland 设置project gopath

相关文章: