{"id":20791418,"url":"https://github.com/csalih/go-clean-architecture","last_synced_at":"2026-05-14T22:39:14.414Z","repository":{"id":109066452,"uuid":"597250469","full_name":"CSalih/go-clean-architecture","owner":"CSalih","description":"A sample project how to apply Clean Architecture in Go","archived":false,"fork":false,"pushed_at":"2023-02-10T12:49:32.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T21:03:30.437Z","etag":null,"topics":["architecture","clean-architecture","education","golang","http-server","software-design"],"latest_commit_sha":null,"homepage":"","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/CSalih.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":"2023-02-04T00:59:52.000Z","updated_at":"2023-02-04T18:17:56.000Z","dependencies_parsed_at":"2023-03-30T15:19:06.884Z","dependency_job_id":null,"html_url":"https://github.com/CSalih/go-clean-architecture","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CSalih/go-clean-architecture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSalih%2Fgo-clean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSalih%2Fgo-clean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSalih%2Fgo-clean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSalih%2Fgo-clean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSalih","download_url":"https://codeload.github.com/CSalih/go-clean-architecture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSalih%2Fgo-clean-architecture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["architecture","clean-architecture","education","golang","http-server","software-design"],"created_at":"2024-11-17T15:44:36.864Z","updated_at":"2026-05-14T22:39:14.397Z","avatar_url":"https://github.com/CSalih.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean Architecture with Go\n\nThis is a sample project to demonstrate how to\napply [Clean Architecture](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html\n) in Go.\n\n\u003e Note: This is my first Go project, I'm just learning Go so don't expect a good code\n\u003e quality.\n\n## Getting Started\n\n### Server\n\n```bash\n# start the server\nmake run\n# create and get an user\ncurl --location --request POST 'http://localhost:8080/api/v1/users/hello-world'\ncurl --location --request GET 'http://localhost:8080/api/v1/users/hello-world'\ncurl --location --request GET 'http://localhost:8080/api/v1/users'\n```\n\n### CLI\n\n```\n# build an use cli\nmake build-cli\n./build/gca-cli user add --username hello-world\n./build/gca-cli user update --username hello-world --status active\n./build/gca-cli user get --username hello-world\n```\n\n## Architecture\n\nThe dependency goes towards the\ncenter - [The Dependency Rule](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html#the-dependency-rule).\n\n![Architecture Overview](docs/assets/clean-architecture.png)\n\n## License\n\nCopyright 2023 © CSalih. All rights reserved.\n\nLicensed under MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsalih%2Fgo-clean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsalih%2Fgo-clean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsalih%2Fgo-clean-architecture/lists"}