{"id":21956350,"url":"https://github.com/chadmayfield/upgrade-go","last_synced_at":"2025-10-10T08:31:07.091Z","repository":{"id":92277975,"uuid":"205071387","full_name":"chadmayfield/upgrade-go","owner":"chadmayfield","description":"Upgrading go in 40 lines of bash","archived":false,"fork":false,"pushed_at":"2024-10-01T00:31:47.000Z","size":214,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-29T08:39:31.041Z","etag":null,"topics":["bash","go","golang","upgrade"],"latest_commit_sha":null,"homepage":"https://chadmayfield.com/2019/08/29/upgrading-go-in-40-lines-of-bash/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chadmayfield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-29T03:18:48.000Z","updated_at":"2024-10-01T00:31:50.000Z","dependencies_parsed_at":"2023-06-08T06:15:29.578Z","dependency_job_id":null,"html_url":"https://github.com/chadmayfield/upgrade-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fupgrade-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fupgrade-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fupgrade-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadmayfield%2Fupgrade-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chadmayfield","download_url":"https://codeload.github.com/chadmayfield/upgrade-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235937697,"owners_count":19069116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","go","golang","upgrade"],"created_at":"2024-11-29T08:32:34.772Z","updated_at":"2025-10-10T08:31:01.758Z","avatar_url":"https://github.com/chadmayfield.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# upgrade-go\n\nUpgrading [go](https://golang.org) in 40 lines of bash. [Blog post here](https://chadmayfield.com/2019/08/29/upgrading-go-in-40-lines-of-bash/).\n\n### Requirements\n* Linux system with [golang](https://golang.org/dl/) installed (usually to `/usr/local/go`)\n* A user with `sudo` privileges\n* Internet access\n* [curl](https://curl.haxx.se)\n* tar\n* gzip\n\n### Sample Output\n\n```\nchad@dev-vm:~$ ./upgrade_go_linux.sh\nThis will upgrade go... are you sure? (Y/N) y\nFound: https://dl.google.com/go/go1.12.9.linux-amd64.tar.gz\nDownloading now...\nDownloaded 127961523 bytes in 4.606516s\nUncompressing: go1.12.9.linux-amd64.tar.gz\nUpdated to go version go1.12.9 linux/amd64!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadmayfield%2Fupgrade-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchadmayfield%2Fupgrade-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadmayfield%2Fupgrade-go/lists"}