├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── doc.yml │ ├── lint.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .golangci.yml ├── LICENSE ├── Makefile ├── README.md ├── bearer.yml ├── dag.go ├── dag_test.go ├── di.go ├── di_example_test.go ├── di_explain.go ├── di_explain_example_test.go ├── di_explain_test.go ├── di_lifecycle.go ├── di_lifecycle_example_test.go ├── di_lifecycle_test.go ├── di_test.go ├── docs ├── .gitignore ├── .gitkeep ├── .prettierrc ├── README.md ├── docs │ ├── _category_.json │ ├── about.md │ ├── container │ │ ├── _category_.json │ │ ├── clone.md │ │ ├── options.md │ │ └── scope.md │ ├── getting-started.md │ ├── glossary.md │ ├── migrating │ │ ├── _category_.json │ │ ├── migrating-from-dig.md │ │ └── migrating-from-wire.md │ ├── service-invocation │ │ ├── _category_.json │ │ ├── accept-interfaces-return-structs.md │ │ └── service-invocation.md │ ├── service-lifecycle │ │ ├── _category_.json │ │ ├── healthchecker.md │ │ └── shutdowner.md │ ├── service-registration │ │ ├── _category_.json │ │ ├── eager-loading.md │ │ ├── lazy-loading.md │ │ ├── package-loading.md │ │ └── transient-loading.md │ ├── troubleshooting │ │ ├── _category_.json │ │ ├── scope-tree.md │ │ ├── service-dependencies.md │ │ ├── service-registration.md │ │ └── web-ui.md │ └── upgrading │ │ ├── _category_.json │ │ └── from-v1-x-to-v2.md ├── docusaurus.config.ts ├── package-lock.json ├── package.json ├── sidebars.ts ├── src │ ├── css │ │ └── custom.css │ ├── pages │ │ ├── community.module.css │ │ ├── community.tsx │ │ ├── examples.module.css │ │ ├── examples.tsx │ │ ├── index.module.css │ │ └── index.tsx │ └── theme │ │ ├── NotFound │ │ └── index.tsx │ │ └── prism-include-languages.js ├── static │ ├── .nojekyll │ ├── img │ │ ├── compass.svg │ │ ├── cover.png │ │ ├── favicon.ico │ │ ├── go-community.png │ │ ├── go-templates.png │ │ ├── icon.png │ │ ├── street-sign.svg │ │ └── telescope.svg │ └── llms.txt └── tsconfig.json ├── errors.go ├── errors_test.go ├── examples ├── dag │ ├── README.md │ ├── example.go │ ├── go.mod │ └── go.sum ├── eager-loading │ ├── README.md │ ├── application.go │ ├── configuration.go │ ├── database.go │ ├── go.mod │ ├── go.sum │ ├── logger.go │ └── main.go ├── event-driven │ ├── README.md │ ├── application.go │ ├── eventbus.go │ ├── events.go │ ├── go.mod │ ├── go.sum │ ├── handlers.go │ ├── main.go │ └── services.go ├── healthcheckable │ ├── README.md │ ├── example.go │ ├── go.mod │ └── go.sum ├── http │ ├── chi │ │ ├── example.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ ├── echo │ │ ├── example.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ ├── fiber │ │ ├── example.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ ├── gin │ │ ├── example.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ └── std │ │ ├── example.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go ├── interface │ ├── README.md │ ├── car.go │ ├── engine.go │ ├── go.mod │ ├── go.sum │ ├── main.go │ └── wheel.go ├── nested-scope │ ├── README.md │ ├── car.go │ ├── driver.go │ ├── example.go │ ├── go.mod │ ├── go.sum │ └── passenger.go ├── package-system │ ├── README.md │ ├── application │ │ ├── application.go │ │ ├── interfaces.go │ │ └── package.go │ ├── database │ │ ├── cache.go │ │ ├── database.go │ │ ├── interfaces.go │ │ └── package.go │ ├── go.mod │ ├── go.sum │ ├── logging │ │ ├── interfaces.go │ │ ├── logger.go │ │ └── package.go │ ├── main.go │ └── services │ │ ├── interfaces.go │ │ ├── order_service.go │ │ ├── package.go │ │ └── user_service.go ├── service-aliases │ ├── README.md │ ├── application.go │ ├── database.go │ ├── go.mod │ ├── go.sum │ ├── main.go │ ├── repositories.go │ └── services.go ├── service-explanation │ ├── README.md │ ├── application.go │ ├── cache.go │ ├── configuration.go │ ├── database.go │ ├── go.mod │ ├── go.sum │ ├── logger.go │ ├── main.go │ └── services.go ├── shutdownable │ ├── README.md │ ├── example.go │ ├── go.mod │ └── go.sum ├── simple │ ├── README.md │ ├── example.go │ ├── go.mod │ └── go.sum ├── struct │ ├── README.md │ ├── example.go │ ├── go.mod │ └── go.sum ├── transient-services │ ├── README.md │ ├── go.mod │ ├── go.sum │ ├── main.go │ ├── processor.go │ ├── request.go │ └── services.go └── web-application │ ├── cache.go │ ├── configuration.go │ ├── database.go │ ├── go.mod │ ├── go.sum │ ├── handlers.go │ ├── logger.go │ ├── main.go │ └── services.go ├── go.mod ├── go.sum ├── go.work ├── go.work.sum ├── http ├── chi │ ├── controllers.go │ ├── go.mod │ └── go.sum ├── echo │ ├── controllers.go │ ├── go.mod │ └── go.sum ├── fiber │ ├── controllers.go │ ├── go.mod │ └── go.sum ├── gin │ ├── controllers.go │ ├── go.mod │ └── go.sum ├── index.go ├── pages_test.go ├── scope.go ├── service.go ├── std │ ├── controllers.go │ ├── go.mod │ └── go.sum ├── utils.go └── utils_test.go ├── injector.go ├── injector_test.go ├── invoke.go ├── invoke_test.go ├── main_test.go ├── root_scope.go ├── root_scope_example_test.go ├── root_scope_test.go ├── scope.go ├── scope_example_test.go ├── scope_test.go ├── service.go ├── service_alias.go ├── service_alias_test.go ├── service_eager.go ├── service_eager_test.go ├── service_lazy.go ├── service_lazy_test.go ├── service_test.go ├── service_transient.go ├── service_transient_test.go ├── stacktrace ├── stacktrace.go ├── stacktrace_cleanpath.go ├── stacktrace_cleanpath_test.go └── stacktrace_test.go ├── tests ├── cascading_failures_test.go ├── circular_dependencies_test.go ├── complex_scenarios_test.go ├── concurrent_operations_test.go ├── dependency_resolution_test.go ├── fixtures │ └── car.go ├── helpers_test.go ├── nested_scopes_test.go ├── race_conditions_test.go ├── service_types_test.go └── virtual_scope_test.go ├── utils.go ├── utils_test.go ├── vercel.json └── virtual_scope.go /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [samber] 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/doc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.github/workflows/doc.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/.golangci.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/README.md -------------------------------------------------------------------------------- /bearer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/bearer.yml -------------------------------------------------------------------------------- /dag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/dag.go -------------------------------------------------------------------------------- /dag_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/dag_test.go -------------------------------------------------------------------------------- /di.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di.go -------------------------------------------------------------------------------- /di_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_example_test.go -------------------------------------------------------------------------------- /di_explain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_explain.go -------------------------------------------------------------------------------- /di_explain_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_explain_example_test.go -------------------------------------------------------------------------------- /di_explain_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_explain_test.go -------------------------------------------------------------------------------- /di_lifecycle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_lifecycle.go -------------------------------------------------------------------------------- /di_lifecycle_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_lifecycle_example_test.go -------------------------------------------------------------------------------- /di_lifecycle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_lifecycle_test.go -------------------------------------------------------------------------------- /di_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/di_test.go -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/.prettierrc -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/docs/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/_category_.json -------------------------------------------------------------------------------- /docs/docs/about.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/about.md -------------------------------------------------------------------------------- /docs/docs/container/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/container/_category_.json -------------------------------------------------------------------------------- /docs/docs/container/clone.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/container/clone.md -------------------------------------------------------------------------------- /docs/docs/container/options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/container/options.md -------------------------------------------------------------------------------- /docs/docs/container/scope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/container/scope.md -------------------------------------------------------------------------------- /docs/docs/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/getting-started.md -------------------------------------------------------------------------------- /docs/docs/glossary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/glossary.md -------------------------------------------------------------------------------- /docs/docs/migrating/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/migrating/_category_.json -------------------------------------------------------------------------------- /docs/docs/migrating/migrating-from-dig.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/migrating/migrating-from-dig.md -------------------------------------------------------------------------------- /docs/docs/migrating/migrating-from-wire.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/migrating/migrating-from-wire.md -------------------------------------------------------------------------------- /docs/docs/service-invocation/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-invocation/_category_.json -------------------------------------------------------------------------------- /docs/docs/service-invocation/accept-interfaces-return-structs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-invocation/accept-interfaces-return-structs.md -------------------------------------------------------------------------------- /docs/docs/service-invocation/service-invocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-invocation/service-invocation.md -------------------------------------------------------------------------------- /docs/docs/service-lifecycle/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-lifecycle/_category_.json -------------------------------------------------------------------------------- /docs/docs/service-lifecycle/healthchecker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-lifecycle/healthchecker.md -------------------------------------------------------------------------------- /docs/docs/service-lifecycle/shutdowner.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-lifecycle/shutdowner.md -------------------------------------------------------------------------------- /docs/docs/service-registration/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-registration/_category_.json -------------------------------------------------------------------------------- /docs/docs/service-registration/eager-loading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-registration/eager-loading.md -------------------------------------------------------------------------------- /docs/docs/service-registration/lazy-loading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-registration/lazy-loading.md -------------------------------------------------------------------------------- /docs/docs/service-registration/package-loading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-registration/package-loading.md -------------------------------------------------------------------------------- /docs/docs/service-registration/transient-loading.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/service-registration/transient-loading.md -------------------------------------------------------------------------------- /docs/docs/troubleshooting/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/troubleshooting/_category_.json -------------------------------------------------------------------------------- /docs/docs/troubleshooting/scope-tree.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/troubleshooting/scope-tree.md -------------------------------------------------------------------------------- /docs/docs/troubleshooting/service-dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/troubleshooting/service-dependencies.md -------------------------------------------------------------------------------- /docs/docs/troubleshooting/service-registration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/troubleshooting/service-registration.md -------------------------------------------------------------------------------- /docs/docs/troubleshooting/web-ui.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/troubleshooting/web-ui.md -------------------------------------------------------------------------------- /docs/docs/upgrading/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/upgrading/_category_.json -------------------------------------------------------------------------------- /docs/docs/upgrading/from-v1-x-to-v2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docs/upgrading/from-v1-x-to-v2.md -------------------------------------------------------------------------------- /docs/docusaurus.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/docusaurus.config.ts -------------------------------------------------------------------------------- /docs/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/package-lock.json -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/sidebars.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/sidebars.ts -------------------------------------------------------------------------------- /docs/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/css/custom.css -------------------------------------------------------------------------------- /docs/src/pages/community.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/community.module.css -------------------------------------------------------------------------------- /docs/src/pages/community.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/community.tsx -------------------------------------------------------------------------------- /docs/src/pages/examples.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/examples.module.css -------------------------------------------------------------------------------- /docs/src/pages/examples.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/examples.tsx -------------------------------------------------------------------------------- /docs/src/pages/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/index.module.css -------------------------------------------------------------------------------- /docs/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/pages/index.tsx -------------------------------------------------------------------------------- /docs/src/theme/NotFound/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/theme/NotFound/index.tsx -------------------------------------------------------------------------------- /docs/src/theme/prism-include-languages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/src/theme/prism-include-languages.js -------------------------------------------------------------------------------- /docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/static/img/compass.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/compass.svg -------------------------------------------------------------------------------- /docs/static/img/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/cover.png -------------------------------------------------------------------------------- /docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /docs/static/img/go-community.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/go-community.png -------------------------------------------------------------------------------- /docs/static/img/go-templates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/go-templates.png -------------------------------------------------------------------------------- /docs/static/img/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/icon.png -------------------------------------------------------------------------------- /docs/static/img/street-sign.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/street-sign.svg -------------------------------------------------------------------------------- /docs/static/img/telescope.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/img/telescope.svg -------------------------------------------------------------------------------- /docs/static/llms.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/static/llms.txt -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/errors.go -------------------------------------------------------------------------------- /errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/errors_test.go -------------------------------------------------------------------------------- /examples/dag/README.md: -------------------------------------------------------------------------------- 1 | # DAG Example 2 | 3 | **Play: https://go.dev/play/p/cJBwzG9wBaM** 4 | -------------------------------------------------------------------------------- /examples/dag/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/dag/example.go -------------------------------------------------------------------------------- /examples/dag/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/dag/go.mod -------------------------------------------------------------------------------- /examples/dag/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/dag/go.sum -------------------------------------------------------------------------------- /examples/eager-loading/README.md: -------------------------------------------------------------------------------- 1 | # Eager Loading Example 2 | 3 | **Play: https://go.dev/play/p/tnNGEwoOi5y** 4 | -------------------------------------------------------------------------------- /examples/eager-loading/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/application.go -------------------------------------------------------------------------------- /examples/eager-loading/configuration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/configuration.go -------------------------------------------------------------------------------- /examples/eager-loading/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/database.go -------------------------------------------------------------------------------- /examples/eager-loading/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/go.mod -------------------------------------------------------------------------------- /examples/eager-loading/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/go.sum -------------------------------------------------------------------------------- /examples/eager-loading/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/logger.go -------------------------------------------------------------------------------- /examples/eager-loading/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/eager-loading/main.go -------------------------------------------------------------------------------- /examples/event-driven/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/README.md -------------------------------------------------------------------------------- /examples/event-driven/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/application.go -------------------------------------------------------------------------------- /examples/event-driven/eventbus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/eventbus.go -------------------------------------------------------------------------------- /examples/event-driven/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/events.go -------------------------------------------------------------------------------- /examples/event-driven/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/go.mod -------------------------------------------------------------------------------- /examples/event-driven/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/go.sum -------------------------------------------------------------------------------- /examples/event-driven/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/handlers.go -------------------------------------------------------------------------------- /examples/event-driven/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/main.go -------------------------------------------------------------------------------- /examples/event-driven/services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/event-driven/services.go -------------------------------------------------------------------------------- /examples/healthcheckable/README.md: -------------------------------------------------------------------------------- 1 | # Health Checkable Services Example 2 | 3 | **Play: https://go.dev/play/p/ILV7UpAJDtc** 4 | -------------------------------------------------------------------------------- /examples/healthcheckable/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/healthcheckable/example.go -------------------------------------------------------------------------------- /examples/healthcheckable/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/healthcheckable/go.mod -------------------------------------------------------------------------------- /examples/healthcheckable/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/healthcheckable/go.sum -------------------------------------------------------------------------------- /examples/http/chi/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/chi/example.go -------------------------------------------------------------------------------- /examples/http/chi/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/chi/go.mod -------------------------------------------------------------------------------- /examples/http/chi/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/chi/go.sum -------------------------------------------------------------------------------- /examples/http/chi/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/chi/main.go -------------------------------------------------------------------------------- /examples/http/echo/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/echo/example.go -------------------------------------------------------------------------------- /examples/http/echo/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/echo/go.mod -------------------------------------------------------------------------------- /examples/http/echo/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/echo/go.sum -------------------------------------------------------------------------------- /examples/http/echo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/echo/main.go -------------------------------------------------------------------------------- /examples/http/fiber/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/fiber/example.go -------------------------------------------------------------------------------- /examples/http/fiber/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/fiber/go.mod -------------------------------------------------------------------------------- /examples/http/fiber/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/fiber/go.sum -------------------------------------------------------------------------------- /examples/http/fiber/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/fiber/main.go -------------------------------------------------------------------------------- /examples/http/gin/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/gin/example.go -------------------------------------------------------------------------------- /examples/http/gin/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/gin/go.mod -------------------------------------------------------------------------------- /examples/http/gin/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/gin/go.sum -------------------------------------------------------------------------------- /examples/http/gin/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/gin/main.go -------------------------------------------------------------------------------- /examples/http/std/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/std/example.go -------------------------------------------------------------------------------- /examples/http/std/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/std/go.mod -------------------------------------------------------------------------------- /examples/http/std/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/std/go.sum -------------------------------------------------------------------------------- /examples/http/std/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/http/std/main.go -------------------------------------------------------------------------------- /examples/interface/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/README.md -------------------------------------------------------------------------------- /examples/interface/car.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/car.go -------------------------------------------------------------------------------- /examples/interface/engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/engine.go -------------------------------------------------------------------------------- /examples/interface/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/go.mod -------------------------------------------------------------------------------- /examples/interface/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/go.sum -------------------------------------------------------------------------------- /examples/interface/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/main.go -------------------------------------------------------------------------------- /examples/interface/wheel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/interface/wheel.go -------------------------------------------------------------------------------- /examples/nested-scope/README.md: -------------------------------------------------------------------------------- 1 | # Nested Scope Example 2 | 3 | **Play: https://go.dev/play/p/vwLEbyo0APp** 4 | -------------------------------------------------------------------------------- /examples/nested-scope/car.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/car.go -------------------------------------------------------------------------------- /examples/nested-scope/driver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/driver.go -------------------------------------------------------------------------------- /examples/nested-scope/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/example.go -------------------------------------------------------------------------------- /examples/nested-scope/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/go.mod -------------------------------------------------------------------------------- /examples/nested-scope/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/go.sum -------------------------------------------------------------------------------- /examples/nested-scope/passenger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/nested-scope/passenger.go -------------------------------------------------------------------------------- /examples/package-system/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/README.md -------------------------------------------------------------------------------- /examples/package-system/application/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/application/application.go -------------------------------------------------------------------------------- /examples/package-system/application/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/application/interfaces.go -------------------------------------------------------------------------------- /examples/package-system/application/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/application/package.go -------------------------------------------------------------------------------- /examples/package-system/database/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/database/cache.go -------------------------------------------------------------------------------- /examples/package-system/database/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/database/database.go -------------------------------------------------------------------------------- /examples/package-system/database/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/database/interfaces.go -------------------------------------------------------------------------------- /examples/package-system/database/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/database/package.go -------------------------------------------------------------------------------- /examples/package-system/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/go.mod -------------------------------------------------------------------------------- /examples/package-system/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/go.sum -------------------------------------------------------------------------------- /examples/package-system/logging/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/logging/interfaces.go -------------------------------------------------------------------------------- /examples/package-system/logging/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/logging/logger.go -------------------------------------------------------------------------------- /examples/package-system/logging/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/logging/package.go -------------------------------------------------------------------------------- /examples/package-system/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/main.go -------------------------------------------------------------------------------- /examples/package-system/services/interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/services/interfaces.go -------------------------------------------------------------------------------- /examples/package-system/services/order_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/services/order_service.go -------------------------------------------------------------------------------- /examples/package-system/services/package.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/services/package.go -------------------------------------------------------------------------------- /examples/package-system/services/user_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/package-system/services/user_service.go -------------------------------------------------------------------------------- /examples/service-aliases/README.md: -------------------------------------------------------------------------------- 1 | # Service Aliases Example 2 | 3 | **Play: https://go.dev/play/p/pfctnvHKT_Y** 4 | -------------------------------------------------------------------------------- /examples/service-aliases/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/application.go -------------------------------------------------------------------------------- /examples/service-aliases/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/database.go -------------------------------------------------------------------------------- /examples/service-aliases/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/go.mod -------------------------------------------------------------------------------- /examples/service-aliases/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/go.sum -------------------------------------------------------------------------------- /examples/service-aliases/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/main.go -------------------------------------------------------------------------------- /examples/service-aliases/repositories.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/repositories.go -------------------------------------------------------------------------------- /examples/service-aliases/services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-aliases/services.go -------------------------------------------------------------------------------- /examples/service-explanation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/README.md -------------------------------------------------------------------------------- /examples/service-explanation/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/application.go -------------------------------------------------------------------------------- /examples/service-explanation/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/cache.go -------------------------------------------------------------------------------- /examples/service-explanation/configuration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/configuration.go -------------------------------------------------------------------------------- /examples/service-explanation/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/database.go -------------------------------------------------------------------------------- /examples/service-explanation/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/go.mod -------------------------------------------------------------------------------- /examples/service-explanation/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/go.sum -------------------------------------------------------------------------------- /examples/service-explanation/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/logger.go -------------------------------------------------------------------------------- /examples/service-explanation/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/main.go -------------------------------------------------------------------------------- /examples/service-explanation/services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/service-explanation/services.go -------------------------------------------------------------------------------- /examples/shutdownable/README.md: -------------------------------------------------------------------------------- 1 | # Shutdownable Example 2 | 3 | **Play: https://go.dev/play/p/Eo6ESpq07Pu** 4 | -------------------------------------------------------------------------------- /examples/shutdownable/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/shutdownable/example.go -------------------------------------------------------------------------------- /examples/shutdownable/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/shutdownable/go.mod -------------------------------------------------------------------------------- /examples/shutdownable/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/shutdownable/go.sum -------------------------------------------------------------------------------- /examples/simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/simple/README.md -------------------------------------------------------------------------------- /examples/simple/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/simple/example.go -------------------------------------------------------------------------------- /examples/simple/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/simple/go.mod -------------------------------------------------------------------------------- /examples/simple/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/simple/go.sum -------------------------------------------------------------------------------- /examples/struct/README.md: -------------------------------------------------------------------------------- 1 | # Struct Injection Example 2 | 3 | **Play: https://go.dev/play/p/Rqa4RCjThoI** 4 | -------------------------------------------------------------------------------- /examples/struct/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/struct/example.go -------------------------------------------------------------------------------- /examples/struct/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/struct/go.mod -------------------------------------------------------------------------------- /examples/struct/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/struct/go.sum -------------------------------------------------------------------------------- /examples/transient-services/README.md: -------------------------------------------------------------------------------- 1 | # Transient Services Example 2 | 3 | **Play: https://go.dev/play/p/0P7RFDekm7A** 4 | -------------------------------------------------------------------------------- /examples/transient-services/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/go.mod -------------------------------------------------------------------------------- /examples/transient-services/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/go.sum -------------------------------------------------------------------------------- /examples/transient-services/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/main.go -------------------------------------------------------------------------------- /examples/transient-services/processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/processor.go -------------------------------------------------------------------------------- /examples/transient-services/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/request.go -------------------------------------------------------------------------------- /examples/transient-services/services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/transient-services/services.go -------------------------------------------------------------------------------- /examples/web-application/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/cache.go -------------------------------------------------------------------------------- /examples/web-application/configuration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/configuration.go -------------------------------------------------------------------------------- /examples/web-application/database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/database.go -------------------------------------------------------------------------------- /examples/web-application/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/go.mod -------------------------------------------------------------------------------- /examples/web-application/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/go.sum -------------------------------------------------------------------------------- /examples/web-application/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/handlers.go -------------------------------------------------------------------------------- /examples/web-application/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/logger.go -------------------------------------------------------------------------------- /examples/web-application/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/main.go -------------------------------------------------------------------------------- /examples/web-application/services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/examples/web-application/services.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/go.sum -------------------------------------------------------------------------------- /go.work: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/go.work -------------------------------------------------------------------------------- /go.work.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/go.work.sum -------------------------------------------------------------------------------- /http/chi/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/chi/controllers.go -------------------------------------------------------------------------------- /http/chi/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/chi/go.mod -------------------------------------------------------------------------------- /http/chi/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/chi/go.sum -------------------------------------------------------------------------------- /http/echo/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/echo/controllers.go -------------------------------------------------------------------------------- /http/echo/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/echo/go.mod -------------------------------------------------------------------------------- /http/echo/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/echo/go.sum -------------------------------------------------------------------------------- /http/fiber/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/fiber/controllers.go -------------------------------------------------------------------------------- /http/fiber/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/fiber/go.mod -------------------------------------------------------------------------------- /http/fiber/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/fiber/go.sum -------------------------------------------------------------------------------- /http/gin/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/gin/controllers.go -------------------------------------------------------------------------------- /http/gin/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/gin/go.mod -------------------------------------------------------------------------------- /http/gin/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/gin/go.sum -------------------------------------------------------------------------------- /http/index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/index.go -------------------------------------------------------------------------------- /http/pages_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/pages_test.go -------------------------------------------------------------------------------- /http/scope.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/scope.go -------------------------------------------------------------------------------- /http/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/service.go -------------------------------------------------------------------------------- /http/std/controllers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/std/controllers.go -------------------------------------------------------------------------------- /http/std/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/std/go.mod -------------------------------------------------------------------------------- /http/std/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/std/go.sum -------------------------------------------------------------------------------- /http/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/utils.go -------------------------------------------------------------------------------- /http/utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/http/utils_test.go -------------------------------------------------------------------------------- /injector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/injector.go -------------------------------------------------------------------------------- /injector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/injector_test.go -------------------------------------------------------------------------------- /invoke.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/invoke.go -------------------------------------------------------------------------------- /invoke_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/invoke_test.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/main_test.go -------------------------------------------------------------------------------- /root_scope.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/root_scope.go -------------------------------------------------------------------------------- /root_scope_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/root_scope_example_test.go -------------------------------------------------------------------------------- /root_scope_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/root_scope_test.go -------------------------------------------------------------------------------- /scope.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/scope.go -------------------------------------------------------------------------------- /scope_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/scope_example_test.go -------------------------------------------------------------------------------- /scope_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/scope_test.go -------------------------------------------------------------------------------- /service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service.go -------------------------------------------------------------------------------- /service_alias.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_alias.go -------------------------------------------------------------------------------- /service_alias_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_alias_test.go -------------------------------------------------------------------------------- /service_eager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_eager.go -------------------------------------------------------------------------------- /service_eager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_eager_test.go -------------------------------------------------------------------------------- /service_lazy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_lazy.go -------------------------------------------------------------------------------- /service_lazy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_lazy_test.go -------------------------------------------------------------------------------- /service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_test.go -------------------------------------------------------------------------------- /service_transient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_transient.go -------------------------------------------------------------------------------- /service_transient_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/service_transient_test.go -------------------------------------------------------------------------------- /stacktrace/stacktrace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/stacktrace/stacktrace.go -------------------------------------------------------------------------------- /stacktrace/stacktrace_cleanpath.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/stacktrace/stacktrace_cleanpath.go -------------------------------------------------------------------------------- /stacktrace/stacktrace_cleanpath_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/stacktrace/stacktrace_cleanpath_test.go -------------------------------------------------------------------------------- /stacktrace/stacktrace_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/stacktrace/stacktrace_test.go -------------------------------------------------------------------------------- /tests/cascading_failures_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/cascading_failures_test.go -------------------------------------------------------------------------------- /tests/circular_dependencies_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/circular_dependencies_test.go -------------------------------------------------------------------------------- /tests/complex_scenarios_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/complex_scenarios_test.go -------------------------------------------------------------------------------- /tests/concurrent_operations_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/concurrent_operations_test.go -------------------------------------------------------------------------------- /tests/dependency_resolution_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/dependency_resolution_test.go -------------------------------------------------------------------------------- /tests/fixtures/car.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/fixtures/car.go -------------------------------------------------------------------------------- /tests/helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/helpers_test.go -------------------------------------------------------------------------------- /tests/nested_scopes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/nested_scopes_test.go -------------------------------------------------------------------------------- /tests/race_conditions_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/race_conditions_test.go -------------------------------------------------------------------------------- /tests/service_types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/service_types_test.go -------------------------------------------------------------------------------- /tests/virtual_scope_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/tests/virtual_scope_test.go -------------------------------------------------------------------------------- /utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/utils.go -------------------------------------------------------------------------------- /utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/utils_test.go -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/vercel.json -------------------------------------------------------------------------------- /virtual_scope.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samber/do/HEAD/virtual_scope.go --------------------------------------------------------------------------------