{"id":17355134,"url":"https://github.com/zephinzer/template-go-package","last_synced_at":"2026-02-23T22:10:19.021Z","repository":{"id":79926680,"uuid":"275052082","full_name":"zephinzer/template-go-package","owner":"zephinzer","description":"Template repository for Go packages","archived":false,"fork":false,"pushed_at":"2020-06-26T01:51:22.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T19:14:07.801Z","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/zephinzer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-26T01:49:05.000Z","updated_at":"2020-12-18T10:46:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7a8d8c0-aedf-413c-a055-11bb12ff5688","html_url":"https://github.com/zephinzer/template-go-package","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"4cf798bb2cf8d4acd50fba5e63dbee45a801a2b4"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Ftemplate-go-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Ftemplate-go-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Ftemplate-go-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Ftemplate-go-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zephinzer","download_url":"https://codeload.github.com/zephinzer/template-go-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245868335,"owners_count":20685609,"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-10-15T17:42:26.469Z","updated_at":"2025-11-01T09:02:36.488Z","avatar_url":"https://github.com/zephinzer.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template repository for Go projects\n\n# TODOS\n\n## You Really Should Do These\n\n- [ ] Replace occurences of `gitlab.com/zephinzer/template-go-package` with the path of your own package\n- [ ] Ensure [LICENSE](./LICENSE) contains the intended license\n- [ ] Update the `CMD_NAME` variable in the [`Makefile`](./Makefile)\n- [ ] Update the `MAINTAINER` variable in the [`Makefile`](./Makefile)\n- [ ] Update the `DOCKER_IMAGE_PATH` variable in the [`Makefile`](./Makefile)\n\n## For Some Use Cases\n\n- [ ] If you're intending to apply versioning via Git tags, set the `DEPLOY_KEY` variable in the Gitlab CI/CD variables (run `make .keys/versioning` to generate your keys, set `DEPLOY_KEY` to the value of the file at `./keys/versioning/id_rsa.base64` and add a Deploy Key to your project using the value of the file at `./keys/versioning/id_rsa.pub`)\n- [ ] If you're publishing a Docker image, set the `DOCKER_REGISTRY_USERNAME` and `DOCKER_REGISTRY_PASSWORD` in the Gitlab CI/CD variables\n- [ ] If you're using Code Climate, set the `CC_TEST_REPORTER_ID` in the Gitlab CI/CD variables\n- [ ] If you're publishing a binary to Github Releases via Travis, set the `RELEASE_TOKEN` in the Travis CI/CD variables\n- [ ] If you're syncing this repository from Gitlab to Github, remember to set your sync settings to push to the Github repository so Travis can take over and release the application\n\n# Contributing\n\n## Development Overview\n\n### Directory Layout\n\nThis repository follows the \"Standard Go Project Layout\" as laid out at [https://github.com/golang-standards/project-layout](https://github.com/golang-standards/project-layout) where possible/sensible.\n\n### Makefile Recipes\n\n| Recipe | Description |\n| --- | --- |\n| `deps` | Installs dependencies |\n| `run` | Runs the application |\n| `test` | Runs tests |\n| `install` | Installs the application locally |\n| `build` | Build the application |\n| `build_production` | Build the application with symbol stripping without using the cache |\n| `build_static` | Build the application with static linking |\n| `build_static_production` | Build the application with static linking and symbol stripping without using the cache |\n| `compress` | Compresses the built application using `upx` |\n| `image` | Build the Docker image for the application |\n| `image_test` | Runs `container-structure-test` tests on the built image |\n| `image_export` | Saves the Docker image as a tarball at `./build/image.tar.gz` |\n| `image_import` | Loads the Docker image from a tarball at `./build/image.tar.gz` |\n| `.keys/versioning` | Creates a set of keys usable for version bumping |\n\n## Process\n\n1. Clone this repository\n2. Make your changes on `master`\n3. Issue a Pull Request/Merge Request\n4. Await a review\n5. Merge on approval\n\n# License\n\nThis project is licensed under [the MIT license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Ftemplate-go-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephinzer%2Ftemplate-go-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Ftemplate-go-package/lists"}