{"id":13565828,"url":"https://github.com/doesdev/go-bin","last_synced_at":"2025-05-14T08:34:36.826Z","repository":{"id":57251577,"uuid":"74792767","full_name":"doesdev/go-bin","owner":"doesdev","description":"Get GO binaries by version tag","archived":false,"fork":false,"pushed_at":"2020-04-15T12:18:41.000Z","size":63,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T19:53:26.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doesdev.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}},"created_at":"2016-11-25T23:02:56.000Z","updated_at":"2023-03-24T02:38:59.000Z","dependencies_parsed_at":"2022-09-06T19:21:51.321Z","dependency_job_id":null,"html_url":"https://github.com/doesdev/go-bin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fgo-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fgo-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fgo-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doesdev%2Fgo-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doesdev","download_url":"https://codeload.github.com/doesdev/go-bin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254105128,"owners_count":22015596,"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":[],"created_at":"2024-08-01T13:01:56.182Z","updated_at":"2025-05-14T08:34:36.567Z","avatar_url":"https://github.com/doesdev.png","language":"JavaScript","readme":"# go-bin [![NPM version](https://badge.fury.io/js/go-bin.svg)](https://npmjs.org/package/go-bin)   [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)   [![Dependency Status](https://dependencyci.com/github/doesdev/go-bin/badge)](https://dependencyci.com/github/doesdev/go-bin)   [![Build Status](https://travis-ci.org/doesdev/go-bin.svg)](https://travis-ci.org/doesdev/go-bin)\n\n\u003e Get Go binaries by version tag\n\n## local install\n\n```sh\n$ npm install --save go-bin\n```\n\n## cli install\n\n```sh\n$ npm install --global go-bin\n```\n\n## api\nreturns promise which resolves to newly created Go directory\n- **options** *(Object)*\n  - **includeTag** - *optional*\n    - description: Include subdirectory with `go-${version}`\n    - type: String\n    - default: true\n  - **version** - *required*\n    - description: Go version tag\n    - type: String\n    - example: `1.8.3`\n  - **dir** - *optional*\n    - description: Output path Go binaries will land in\n    - type: String\n    - example: `C:\\\\Go` (unless `includeTag = false` final path would be `C:\\\\Go\\\\go-1.8.3`)\n    - default: `__dirname + 'vendor'`\n\n## programmatic usage\n\n```js\nconst goBin = require('go-bin')\ngoBin({version: '1.8.3', dir: '~/here'}).then(console.log).catch(console.error)\n```\n\n## cli usage\n\n```sh\n$ go-bin -v 1.8.3 -d ~/here\n# ~/here/go-1.8.3\n```\n\n## related\n\n- [ngo](https://github.com/doesdev/ngo) - Run Go commands,\nwhether your Go env is in place or not\n\n- [go-versions](https://github.com/doesdev/go-versions) - Get list of Go version\ntags\n\n- [go-latest](https://github.com/doesdev/go-latest) - Get latest Go version tag\n\n## license\n\nMIT © [Andrew Carpenter](https://github.com/doesdev)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoesdev%2Fgo-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoesdev%2Fgo-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoesdev%2Fgo-bin/lists"}