{"id":25014355,"url":"https://github.com/gregoryv/stamp","last_synced_at":"2025-03-30T05:13:21.180Z","repository":{"id":57487324,"uuid":"109980602","full_name":"gregoryv/stamp","owner":"gregoryv","description":"Generates build information from standardized git repositories ","archived":false,"fork":false,"pushed_at":"2020-10-22T02:34:24.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T07:19:39.407Z","etag":null,"topics":["go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregoryv.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.go","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-11-08T13:38:39.000Z","updated_at":"2020-10-22T02:34:26.000Z","dependencies_parsed_at":"2022-09-01T22:51:15.371Z","dependency_job_id":null,"html_url":"https://github.com/gregoryv/stamp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fstamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fstamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fstamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fstamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/stamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":["go","golang"],"created_at":"2025-02-05T07:19:09.178Z","updated_at":"2025-03-30T05:13:21.158Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/gregoryv/stamp.svg?branch=master)](https://travis-ci.org/gregoryv/stamp)\n[![codecov](https://codecov.io/gh/gregoryv/stamp/branch/master/graph/badge.svg)](https://codecov.io/gh/gregoryv/stamp)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b0001c5ba7cd098b183d/maintainability)](https://codeclimate.com/github/gregoryv/stamp/maintainability)\n\n[stamp](https://godoc.org/github.com/gregoryv/stamp) - Parses out build information to embed into your binary\n\nNormalize how version and build information makes it's way into your binaries.\nGenerates code that can be used to add flags\n\n    -v    Print version and exit\n    -vv\n          Print version with details and exit\n\n## Quick start\n\nInstall\n\n    go get github.com/gregoryv/stamp/...\n\nExample main.go\n\n\t//go:generate stamp -go build_stamp.go -clfile changelog.md\n    package main\n\n\timport (\n\t\t\"github.com/gregoryv/stamp\"\n\t\t\"flag\"\n\t)\n\n\tfunc main() {\n\t\tstamp.InitFlags() // Defines -v and -vv flags\n\t\tflag.Parse()\n\t\tstamp.AsFlagged()\n\t\t//...\n\t}\n\n\nThen generate with\n\n    go generate .\n\tgo build .\n\n## Details\n\nstamp depends on git and that you have a CHANGELOG.md. The changelog is parsed for the latest\nreleased version and assumes it follows http://keepachangelog.com/en/1.0.0/ format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fstamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Fstamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fstamp/lists"}