{"id":13786779,"url":"https://github.com/shubhamzanwar/design-patterns","last_synced_at":"2025-04-26T13:57:26.032Z","repository":{"id":98895190,"uuid":"298180791","full_name":"shubhamzanwar/design-patterns","owner":"shubhamzanwar","description":"common creational, behavioural and structural patterns implemented in go 🤩","archived":false,"fork":false,"pushed_at":"2023-03-12T01:51:59.000Z","size":54,"stargazers_count":124,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T10:01:46.290Z","etag":null,"topics":["design-patterns","designpatterns","go","go-lang","learning","portfolio","software-development","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shubhamzanwar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":null,"patreon":"shubhamzanwar","open_collective":null,"ko_fi":"shubhamzanwar","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-24T05:48:15.000Z","updated_at":"2025-04-20T20:38:31.000Z","dependencies_parsed_at":"2024-01-05T21:56:53.695Z","dependency_job_id":null,"html_url":"https://github.com/shubhamzanwar/design-patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamzanwar%2Fdesign-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamzanwar%2Fdesign-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamzanwar%2Fdesign-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhamzanwar%2Fdesign-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhamzanwar","download_url":"https://codeload.github.com/shubhamzanwar/design-patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250971139,"owners_count":21516067,"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":["design-patterns","designpatterns","go","go-lang","learning","portfolio","software-development","software-engineering"],"created_at":"2024-08-03T19:01:35.477Z","updated_at":"2025-04-26T13:57:25.970Z","avatar_url":"https://github.com/shubhamzanwar.png","language":"Go","readme":"# Design Patterns 🚀🧩\n\n[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)\n\nDesign Patterns are ways of solving different problems we face while designing software solutions. Having too many if/else conditions? Need to implement multiple ways of initializing objects? Writing too many parsers? There's probably a design pattern to help you structure your code elegantly!\n\nAn important thing to note though, is that design patterns are but a set of blueprints/recommendations. They are not exact solutions to problems. Rather, they are a concepts/conventions to follow in your code.\n\nIn this repository, I have curated a list of design patterns that may help you in your projects!\n\n\u003e These patterns are implemented in go. However, with each pattern, I have included a readme file containing the detailed description of the pattern. Hence, you should comfortably be able to implement this in any coding language 🤘🏽\n\n### Contents\n\n1. [Factory pattern](./1-factory)\n2. [Abstract Factory pattern](./2-abstract-factory)\n3. [Builder Pattern](./3-builder)\n4. [Adapter Pattern](./4-adapter)\n5. [Bridge Pattern](./5-bridge)\n6. [Decorator Pattern](./6-decorator)\n7. [Facade Pattern](./7-facade)\n8. [Flyweight Pattern](./8-flyweight)\n9. [Chain of responsibility](./9-chain-of-responsibility)\n\nwip\n","funding_links":["https://patreon.com/shubhamzanwar","https://ko-fi.com/shubhamzanwar"],"categories":["Websites","网站","Tutorials"],"sub_categories":["Tutorials","教程"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamzanwar%2Fdesign-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhamzanwar%2Fdesign-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhamzanwar%2Fdesign-patterns/lists"}