{
    "version": "1.18.10",
    "description": "An open source programming language that makes it easy to build simple, reliable, and efficient software.",
    "homepage": "https://golang.org",
    "license": "BSD-3-Clause",
    "architecture": {
        "64bit": {
            "url": "https://dl.google.com/go/go1.18.10.windows-amd64.zip",
            "hash": "caf3fcc9d39371fc45ad46afad7f6d12b42433c7d7ac593ada6351cd39ee217d"
        },
        "32bit": {
            "url": "https://dl.google.com/go/go1.18.10.windows-386.zip",
            "hash": "9d31478c74f699b365af813b971d6713fdee1c1cd32d9321f67edbf5c451ae52"
        },
        "arm64": {
            "url": "https://dl.google.com/go/go1.18.10.windows-arm64.zip",
            "hash": "15efba8cd811b7548cfe4bf34d276b720b261efa876575a01cdb1deb63e7de00"
        }
    },
    "extract_dir": "go",
    "installer": {
        "script": [
            "$envgopath = \"$env:USERPROFILE\\go\"",
            "if ($env:GOPATH) { $envgopath = $env:GOPATH }",
            "info \"Adding '$envgopath\\bin' to PATH...\"",
            "Add-Path -Path \"$envgopath\\bin\" -Global:$global -Force"
        ]
    },
    "uninstaller": {
        "script": [
            "$envgopath = \"$env:USERPROFILE\\go\"",
            "if ($env:GOPATH) { $envgopath = $env:GOPATH }",
            "info \"Removing '$envgopath\\bin' from PATH...\"",
            "Remove-Path -Path \"$envgopath\\bin\" -Global:$global"
        ]
    },
    "bin": [
        "bin\\go.exe",
        "bin\\gofmt.exe"
    ]
}
