Valid methods in being highlighted in red 'Unresolved Reference'

前端 未结 4 2018
时光取名叫无心
时光取名叫无心 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:54

    This can also happen if go.mod is copied from another project without updating the project name:

    // go.mod
    
    module github.com/org/new-project
    
    go 1.15
    

提交回复
热议问题