Question: How can you compile main.go to an executable that will run on OSX arm64 ?
- Set GOOS to **arm64** and GOARCH to **darwin**.
- Set GOOS to **osx** and GOARCH to **arm64**.
- Set GOOS to **arm64** and GOARCH to **osx**.
- Set GOOS to **darwin** and GOARCH to **arm64**.
Answer: The correct answer of the above question is Option D:Set GOOS to **darwin** and GOARCH to **arm64**.