{"id":24919787,"url":"https://github.com/steinfletcher/func-dependency-injection-go","last_synced_at":"2025-07-22T05:33:27.293Z","repository":{"id":81126201,"uuid":"175298895","full_name":"steinfletcher/func-dependency-injection-go","owner":"steinfletcher","description":"Dependency injection example using higher order functions","archived":false,"fork":false,"pushed_at":"2019-03-14T06:23:47.000Z","size":4,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T18:09:55.352Z","etag":null,"topics":["dependency-injection","functional","go","golang","higher-order-functions"],"latest_commit_sha":null,"homepage":"https://blog.stein.wtf/posts/go-dependency-injection-higher-order-functions","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/steinfletcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-12T21:27:48.000Z","updated_at":"2024-08-02T00:45:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5a30c99-0b4c-480f-8c40-67279304c5ab","html_url":"https://github.com/steinfletcher/func-dependency-injection-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steinfletcher/func-dependency-injection-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunc-dependency-injection-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunc-dependency-injection-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunc-dependency-injection-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunc-dependency-injection-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinfletcher","download_url":"https://codeload.github.com/steinfletcher/func-dependency-injection-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunc-dependency-injection-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266433635,"owners_count":23927790,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["dependency-injection","functional","go","golang","higher-order-functions"],"created_at":"2025-02-02T10:37:29.969Z","updated_at":"2025-07-22T05:33:27.284Z","avatar_url":"https://github.com/steinfletcher.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# func-dependency-injection-go\n\nExample code for blog post: https://stein.wtf/posts/2019-03-12/inject/\n\n```bash\ngo run main.go\ncurl localhost:8000/user\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Ffunc-dependency-injection-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinfletcher%2Ffunc-dependency-injection-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Ffunc-dependency-injection-go/lists"}