If I click on "Run go build index.go", Goland takes 3 seconds until it returns the output. Each other time it takes about 20 seconds. It is not about the code, because the code is simple:
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
If I run this file on terminal with go run index.go
, it takes about 1 second.
I have just installed Goland for the first time, so there are no older configs in it. How can I fix this issue?