```
package main
import "fmt"
func main(){
s := "Hello World."
fmt.Println(s)
}
```
具体代码如上:
程序可以正常运行,但是`import "fmt"`一直提示
```
'C:/Go/src/fmt' has no buildable Go source files less... (Ctrl+F1)
Reports invalid imports.
```
刚刚接触Golang和GoLand,请问大家我哪里配置错了?谢谢。
有疑问加站长微信联系(非本文作者)
![](https://static.golangjob.cn/static/img/footer.png?imageView2/2/w/280)