Question: How can you compile main.go to an executable that will run on OSX arm64 ?

  1. Set GOOS to **arm64** and GOARCH to **darwin**.
  2. Set GOOS to **osx** and GOARCH to **arm64**.
  3. Set GOOS to **arm64** and GOARCH to **osx**.
  4. 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**.