{"id":18259963,"url":"https://github.com/theflyingcodr/go-lib-template","last_synced_at":"2026-02-23T20:44:29.680Z","repository":{"id":47528263,"uuid":"395439022","full_name":"theflyingcodr/go-lib-template","owner":"theflyingcodr","description":"A common template I use when creating go libraries","archived":false,"fork":false,"pushed_at":"2021-08-25T08:54:54.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T18:36:23.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/theflyingcodr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-12T20:41:58.000Z","updated_at":"2021-11-04T18:03:55.000Z","dependencies_parsed_at":"2022-07-21T02:48:43.330Z","dependency_job_id":null,"html_url":"https://github.com/theflyingcodr/go-lib-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theflyingcodr%2Fgo-lib-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theflyingcodr%2Fgo-lib-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theflyingcodr%2Fgo-lib-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theflyingcodr%2Fgo-lib-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theflyingcodr","download_url":"https://codeload.github.com/theflyingcodr/go-lib-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947825,"owners_count":21023058,"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-05T10:41:15.623Z","updated_at":"2026-02-23T20:44:24.654Z","avatar_url":"https://github.com/theflyingcodr.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-lib-template\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/theflyingcodr/go-lib-template/Go?style=flat-square)\n![GitHub](https://img.shields.io/github/license/theflyingcodr/go-lib-template?style=flat-square)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/theflyingcodr/go-lib-template?style=flat-square)\n[![Report](https://goreportcard.com/badge/github.com/theflyingcodr/go-lib-template?style=flat\u0026v=1)](https://goreportcard.com/report/github.com/theflyingcodr/go-lib-template)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/theflyingcodr/go-lib-template?style=flat-square)\n\nA git template that can be used to bootstrap a go library, ie, something that isn't an executable.\n\nThis comes complete with git actions for:\n\n* greetings  - welcome new contributors automatically\n* build \u0026 release - to ensure your code is building before creating a release\n* code quality - to scan for obvious issues\n\nThere is also a [Makefile](Makefile) with some handy common commands for running all tests, testing the releaser etc.\n\nThis will hopefully make a good starting point when you are looking to start a new go project.\n\n## Getting started\n\n* Create a new github repo\n* Select this as the template\n* Clone the repo\n* run `go mod init github.com/youruser/yourporject`\n* code code code\n\n## Build pipeline\n\nThe go build will run on PRs and when pushed to master. When you tag master it will then run the go build and then create a release.\n\n## Mergify\n\nIt also has a mergify config if you run that on your repos for auto merging etc.\n\nLets see if it works. Hmm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheflyingcodr%2Fgo-lib-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheflyingcodr%2Fgo-lib-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheflyingcodr%2Fgo-lib-template/lists"}