Valid methods in being highlighted in red 'Unresolved Reference'

前端 未结 4 2004
时光取名叫无心
时光取名叫无心 2021-02-20 06:39

How to solve this problem? The program works. But the methods in Gogland are highlighted in red. Qt version 5.8 is added.

Gogland (1.0 Preview) 1.0 EAP
Build #GO         


        
4条回答
  •  醉话见心
    2021-02-20 06:52

    Ran into this recently with a project in 'bitbucket.org' GOPATH not finding ones in 'github.com'. Checked the "Index entire GOPATH" box and it fixed it.

    This option is present at: Files > Settings (Preferences) > Go > GOPATH

提交回复
热议问题