{"id":15422579,"url":"https://github.com/heaths/template-golang","last_synced_at":"2026-02-02T09:11:29.778Z","repository":{"id":145642944,"uuid":"567003789","full_name":"heaths/template-golang","owner":"heaths","description":"Go repository template","archived":false,"fork":false,"pushed_at":"2024-09-28T01:49:32.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T19:51:21.309Z","etag":null,"topics":["golang","template","template-repository"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-11-16T21:37:51.000Z","updated_at":"2024-09-28T01:49:35.000Z","dependencies_parsed_at":"2024-01-16T18:59:00.550Z","dependency_job_id":"f6f1669c-33d1-4e8c-95bc-ac929749f215","html_url":"https://github.com/heaths/template-golang","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"e7480a5a72eca1cb1e5684be86854427f4ae374b"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Ftemplate-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Ftemplate-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Ftemplate-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Ftemplate-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/template-golang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240395740,"owners_count":19794574,"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":["golang","template","template-repository"],"created_at":"2024-10-01T17:38:58.210Z","updated_at":"2026-02-02T09:11:29.733Z","avatar_url":"https://github.com/heaths.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# {{param \"name\" (param \"github.repo\") \"What is your project name?\" | titlecase}}\n\n{{if not (param \"release\" true \"Do you want a release pipeline?\") -}}\n{{deleteFile \".github/workflows/release.yml\"}}\n{{- end -}}\n\n{{if (param \"badges\" true \"Do you need badges?\") -}}\n{{if (param \"release\") -}}\n[![releases](https://img.shields.io/github/v/release/{{param \"github.owner\"}}/{{param \"github.repo\"}}.svg?logo=github)](https://github.com/{{param \"github.owner\"}}/{{param \"github.repo\"}}/releases/latest)\n{{- end}}\n[![reference](https://pkg.go.dev/badge/github.com/{{param \"github.owner\"}}/{{param \"github.repo\"}}.svg)](https://pkg.go.dev/github.com/{{param \"github.owner\"}}/{{param \"github.repo\"}})\n[![ci](https://github.com/{{param \"github.owner\"}}/{{param \"github.repo\"}}/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/{{param \"github.owner\"}}/{{param \"github.repo\"}}/actions/workflows/ci.yml)\n{{- end}}\n\n\u003c!-- {{if 0}} --\u003e\nTo create a new repository from this template repository for Go projects,\nusing the [GitHub CLI](https://github.com/cli/cli) run:\n\n```bash\ngh extension install heaths/gh-template\ngh template clone \u003cname\u003e --template heaths/template-golang --public\n\n# Recommended\ncd \u003cname\u003e\ngit commit -a --amend\n```\n\nThe `gh template` command will:\n\n1. Create a new repository with the given `\u003cname\u003e` on GitHub.\n2. Copy the `heaths/template-golang` files into that repo.\n3. Clone the new repository into a directory named `\u003cname\u003e` in the current directory.\n4. Apply built-in and passed parameters, or prompt for undefined parameters, to format template files.\n\nThis will create a new repo with the given `\u003cname\u003e` in GitHub, copy the\n`heaths/template-golang` files into that repo, and clone it into a\nsubdirectory of the current directory named `\u003cname\u003e`.\n\nSee [heaths/gh-template](https://github.com/heaths/gh-template) for more information\nabout this GitHub CLI extension.\n\u003c!-- {{end -}} TODO --\u003e\n\n## License\n\nLicensed under the [MIT](LICENSE.txt) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Ftemplate-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Ftemplate-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Ftemplate-golang/lists"}