I'm trying to launch a file in debug mode in IntelliJ.
Here is my File content :
package myPackage
import (
"fmt"
)
func main() {
fmt.Println("Hello")
}
My file is in the folder src/myProject/myPackage
But when I try to create a Go Application in IntelliJ, it says:
"Cannot find Go file with main in 'myProject/myPackage'"
I have already make this work but I had to put my file in a package named "main".
But now my project is growing and I need to Debug my packages separately.
Any Ideas?