{"id":24919792,"url":"https://github.com/steinfletcher/functional-dependency-injection-golang-example","last_synced_at":"2025-08-10T16:37:26.319Z","repository":{"id":81126209,"uuid":"144822849","full_name":"steinfletcher/functional-dependency-injection-golang-example","owner":"steinfletcher","description":"An example of how to do dependency injection in golang","archived":false,"fork":false,"pushed_at":"2018-08-15T07:52:17.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T10:12:52.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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,"zenodo":null}},"created_at":"2018-08-15T07:51:40.000Z","updated_at":"2018-08-15T07:52:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b91503d-ea39-41bb-9c21-bfc6d18df660","html_url":"https://github.com/steinfletcher/functional-dependency-injection-golang-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/steinfletcher/functional-dependency-injection-golang-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunctional-dependency-injection-golang-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunctional-dependency-injection-golang-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunctional-dependency-injection-golang-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunctional-dependency-injection-golang-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinfletcher","download_url":"https://codeload.github.com/steinfletcher/functional-dependency-injection-golang-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Ffunctional-dependency-injection-golang-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269754070,"owners_count":24470514,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-02-02T10:37:30.522Z","updated_at":"2025-08-10T16:37:26.311Z","avatar_url":"https://github.com/steinfletcher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Functional Dependency Injection in Golang\n\nA simple technique for dependency injection without frameworks using higher order functions\n\n     go run main.go\n     curl http://localhost:8080/user/123\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Ffunctional-dependency-injection-golang-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinfletcher%2Ffunctional-dependency-injection-golang-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Ffunctional-dependency-injection-golang-example/lists"}