Intellij cannot load file .go same package

Viewed 276

I have the problem running file main.go in Intellij.

My structure project

Main.go and Common.go same package main. I run Main.go in Intellij then consle log display message error: ".\Main.go:9: undefined: showMsg". showMsg is a function of Common.go

2 Answers
Related