code: def go_get_go():
      system = platform.system().lower()
      machine = platform.machine().lower()
      if machine == "x86_64":
          machine = "amd64"
      elif machine == "aarch64":
          machine = "arm64"
      elif machine == "armv7l":
          machine = "armv6l"
      extension = "tar.gz" if system != "windows" else "msi"
      out_path = "/usr/local" if system != "windows" else "C:\\Go"
  
      file_name = f"go{VERSION}.{system}-{machine}.{extension}"
  
      print(f"Downloading {file_name}")
      subprocess.check_call(
          [
              "curl",
              "-L",
              f"https://golang.org/dl/{file_name}",
              "-o",
              file_name,
          ]
      )
  
      if not os.path.exists(out_path):
          os.makedirs(out_path)
  
      if system != "windows":
          print(f"Extracting {file_name}")
          subprocess.check_call(
              ["tar", "-C", out_path, "-xzf", file_name]
          )
      else:
          print(f"Installing {file_name}")
          subprocess.check_call(["msiexec", "/i", file_name, "/quiet"])
  
imports: import os
  import platform
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: go_get_go() without return types