{"id":22096091,"url":"https://github.com/HumanSecurity/go-project-structure","last_synced_at":"2026-01-09T23:08:04.476Z","repository":{"id":70060500,"uuid":"572972524","full_name":"PerimeterX/go-project-structure","owner":"PerimeterX","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-01T09:50:43.000Z","size":40,"stargazers_count":158,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-24T00:55:34.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/PerimeterX.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-12-01T12:34:03.000Z","updated_at":"2025-03-14T06:59:19.000Z","dependencies_parsed_at":"2025-01-29T07:39:03.536Z","dependency_job_id":null,"html_url":"https://github.com/PerimeterX/go-project-structure","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/PerimeterX%2Fgo-project-structure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fgo-project-structure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fgo-project-structure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerimeterX%2Fgo-project-structure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerimeterX","download_url":"https://codeload.github.com/PerimeterX/go-project-structure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125613,"owners_count":21051770,"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-12-01T04:09:39.261Z","updated_at":"2026-01-09T23:08:04.448Z","avatar_url":"https://github.com/PerimeterX.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Project Structure\n\n\u003cimg align=\"right\" width=\"320\" alt=\"go-project-structure-logo\" src=\"https://raw.githubusercontent.com/PerimeterX/go-project-structure/assets/logo.svg\"\u003e\n\n[![Licence](https://img.shields.io/github/license/perimeterx/go-project-structure)](LICENSE)\n[![Latest Release](https://img.shields.io/github/v/release/perimeterx/go-project-structure)](https://github.com/perimeterx/go-project-structure/releases)\n[![Issues](https://img.shields.io/github/issues/perimeterx/go-project-structure?logo=github)](https://github.com/perimeterx/go-project-structure/issues)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)\n\nThis is a template repository for Go projects.\n\nWe released a [blog post](https://www.humansecurity.com/tech-engineering-blog/finding-the-best-go-project-structure-part-1) revealing the story behind this structure. \nOur internal journey at HUMAN Security to find the best project structure, the decision we’ve taken,\nand the conclusions we’ve drawn along the way.\n\nTo view a full example, navigate to the [example branch](https://github.com/PerimeterX/go-project-structure/tree/example).\n\nEach of the directories in this repository contains a README file describing its purpose.\n\n## Contents\n\n- [Usage](#usage)\n- [Project Structure Design](#project-structure-design)\n- [Contact and Contribute](#contact-and-contribute)\n\n## Usage\n\nTo create a new project, fork this repository or [use it as a template repository](https://github.com/PerimeterX/go-project-structure/generate).\n\n## Project Structure Design\n\nThe project structure is designed with [independent packages](https://medium.com/@avivcarmis/ok-lets-go-three-approaches-to-structuring-go-code-42e2370c3ae5#92df) in mind,\naccording to [hexagonal architecture](https://en.wikipedia.org/wiki/Hexagonal_architecture_(software)), and targeted to provide the following benefits:\n- Structural coherence\n- Separation of business logic and infrastructure\n- Reusability\n- Dependency declaration\n\nFore more info, read the [full article](https://www.humansecurity.com/tech-engineering-blog/finding-the-best-go-project-structure-part-1) behind this structure.\n\n## Contact and Contribute\n\nReporting issues and requesting features may be done in our [GitHub issues page](https://github.com/PerimeterX/go-project-structure/issues).\nFor any further questions or comments you can reach us out at [open-source@humansecurity.com](mailto:open-source@humansecurity.com).\n\nAny type of contribution is warmly welcome and appreciated ❤️\nPlease read our [contribution](CONTRIBUTING.md) guide for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHumanSecurity%2Fgo-project-structure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHumanSecurity%2Fgo-project-structure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHumanSecurity%2Fgo-project-structure/lists"}