You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sysinfo_darwin.go
    path of file: ./repos/arozos/src/mod/info/hardwareinfo
    
    the code of the file until where you have to start completion: //go:build darwin
// +build darwin

package hardwareinfo

import (
	"encoding/json"
	"imuslab.com/arozos/mod/utils"
	"log"
	"net/http"
	"os/exec"
	"strconv"
	"strings"
)

/*
	System Info
	original author: HyperXraft
	modified by: Alanyeung
	original date:	2021-02-18
	modified by: 2021-07-25

    
func GetCPUArch() string {
	shell := exec.Command("bash", "-c", query_cpuarch_command) // Run command
	archStr, err := shell.CombinedOutput()                     // Response from cmdline
	if err != nil {                                            // If done w/ errors then
		log.Println(err)
		return unknown_string
	}

	return string(archStr)
}