{"id":25384037,"url":"https://github.com/gomatic/go-vbuild","last_synced_at":"2025-04-09T14:43:20.416Z","repository":{"id":57512618,"uuid":"89167117","full_name":"gomatic/go-vbuild","owner":"gomatic","description":"A Go subcommand extender that adds -ldflags -X variables to go build and go install.","archived":false,"fork":false,"pushed_at":"2017-05-07T14:53:13.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T07:01:56.897Z","etag":null,"topics":["extender","extension","golang","toolchain"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gomatic.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":"2017-04-23T19:32:25.000Z","updated_at":"2023-09-01T08:59:39.000Z","dependencies_parsed_at":"2022-09-26T17:51:28.249Z","dependency_job_id":null,"html_url":"https://github.com/gomatic/go-vbuild","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/gomatic%2Fgo-vbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomatic%2Fgo-vbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomatic%2Fgo-vbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomatic%2Fgo-vbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gomatic","download_url":"https://codeload.github.com/gomatic/go-vbuild/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055275,"owners_count":21040151,"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":["extender","extension","golang","toolchain"],"created_at":"2025-02-15T08:35:33.596Z","updated_at":"2025-04-09T14:43:20.380Z","avatar_url":"https://github.com/gomatic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-vbuild\n\nA Go subcommand [extender](//github.com/gomatic/extender) that adds `-ldflags -X` variables to\n`go build` and `go install`.\n\n[![reportcard](https://goreportcard.com/badge/github.com/gomatic/go-vbuild)](https://goreportcard.com/report/github.com/gomatic/go-vbuild)\n[![build](https://travis-ci.org/gomatic/go-vbuild.svg?branch=master)](https://travis-ci.org/gomatic/go-vbuild)\n[![godoc](https://godoc.org/github.com/gomatic/go-vbuild?status.svg)](https://godoc.org/github.com/gomatic/go-vbuild)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n\nIt runs:\n\n\tgo (build|install) [args...] -ldflags \\\n\t  -X github.com/gomatic/go-vbuild.Who=${USER} \\\n\t  -X github.com/gomatic/go-vbuild.Where=${HOST} \\\n\t  -X github.com/gomatic/go-vbuild.Patch=$(git show -s --format=%ct)-$(git log --pretty=format:'%h' -n 1)\n\n# Example\n\nSee [cmds/go-versioning](cmds/go-versioning/main.go)\n\n# Installation\n\n:warning: This installs `${GOBIN}/go-build`, `${GOBIN}/go-install`. These are intended to be\nexecuted by [extender](//github.com/gomatic/extender) to override the\n`go build` and `go install` commands.\n\n    go get github.com/gomatic/go-vbuild\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomatic%2Fgo-vbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomatic%2Fgo-vbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomatic%2Fgo-vbuild/lists"}