{"id":25815733,"url":"https://github.com/mgnsk/di-container","last_synced_at":"2025-02-28T04:32:46.640Z","repository":{"id":57529169,"uuid":"257051205","full_name":"mgnsk/di-container","owner":"mgnsk","description":"Simpler compile-time dependency injection and a runtime singleton container for go.","archived":false,"fork":false,"pushed_at":"2023-02-17T15:08:16.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T16:33:25.078Z","etag":null,"topics":["autowire","code-generation","dependency","dependency-injection","di-container","generator","golang","initializer","ioc","service-container"],"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/mgnsk.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":"2020-04-19T16:44:37.000Z","updated_at":"2023-02-17T15:08:21.000Z","dependencies_parsed_at":"2024-06-20T16:18:20.461Z","dependency_job_id":"5b453274-884e-4d36-9926-3fa5784420c6","html_url":"https://github.com/mgnsk/di-container","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/mgnsk%2Fdi-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgnsk%2Fdi-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgnsk%2Fdi-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgnsk%2Fdi-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgnsk","download_url":"https://codeload.github.com/mgnsk/di-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101661,"owners_count":19909943,"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":["autowire","code-generation","dependency","dependency-injection","di-container","generator","golang","initializer","ioc","service-container"],"created_at":"2025-02-28T04:32:46.049Z","updated_at":"2025-02-28T04:32:46.629Z","avatar_url":"https://github.com/mgnsk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DI container for Go\n\nSimpler compile-time dependency injection and a runtime singleton container for go. Inspired by [Wire](https://github.com/google/wire) and [Symfony Service Container](https://symfony.com/doc/current/service_container.html)\n\nInstallation: `go get github.com/mgnsk/di-container/cmd/initgen`\n\n### Example\n* `$ cd example`\n* `$ go generate`\n* Run the example app using the initializers: `$ go run cmd/main.go`\n\nIt is also possible to use the container dynamically on runtime. In that case it acts like a singleton container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgnsk%2Fdi-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgnsk%2Fdi-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgnsk%2Fdi-container/lists"}