{"id":19946840,"url":"https://github.com/datainq/gover","last_synced_at":"2025-10-07T11:07:55.765Z","repository":{"id":57499361,"uuid":"211846890","full_name":"datainq/gover","owner":"datainq","description":"Super simple package to put your git commit hash, version and build timestamp","archived":false,"fork":false,"pushed_at":"2019-09-30T12:14:07.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T05:27:35.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/datainq.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":"2019-09-30T11:44:31.000Z","updated_at":"2020-03-11T14:48:19.000Z","dependencies_parsed_at":"2022-08-28T14:02:35.893Z","dependency_job_id":null,"html_url":"https://github.com/datainq/gover","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/datainq%2Fgover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datainq%2Fgover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datainq%2Fgover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datainq%2Fgover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datainq","download_url":"https://codeload.github.com/datainq/gover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241374539,"owners_count":19952545,"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-11-13T00:32:59.081Z","updated_at":"2025-10-07T11:07:50.723Z","avatar_url":"https://github.com/datainq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gover \nSimple package with public version variables.\n\n## Usage\n```\ngo get github.com/datainq/gover\n```\n\n## Compilation\nWhen compiling the code one should specify the version:\n\n```\nVERSION=v1.0.0\nGIT_COMMIT=$(git rev-list -1 HEAD)\nBUILD_DATE=$(date +\"%s\")\n\ngo build -ldflags \"-X github.com/datainq/gover.GitCommit=$GIT_COMMIT -X github.com/datainq/gover.BuildTime=$BUILD_DATE -X github.com/datainq/gover.Version=$VERSION\" main.go\n```\n\nYou can import `github.com/datainq/gover` and use it. The most common use case\nis to print version at binary startup, help and exit.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatainq%2Fgover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatainq%2Fgover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatainq%2Fgover/lists"}