Categories
Golang

Fixing “Goland: go build -i cause open /usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied”

Goland as well as Go’s build sometimes throws the following issue: go build -i cause open /usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied.