di

所属分类:编程语言基础
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-03-31 07:57:19
上 传 者sh-1993
说明:  Go编程语言的依赖注入。
(Dependency injection for Go programming language.)

文件列表:
.codecov.yml (257, 2023-03-31)
.scripts/ (0, 2023-03-31)
.scripts/test.sh (300, 2023-03-31)
LICENSE (1073, 2023-03-31)
builder.go (3175, 2023-03-31)
builder_test.go (4206, 2023-03-31)
container.go (5098, 2023-03-31)
container_test.go (8235, 2023-03-31)
definition.go (2195, 2023-03-31)
di.go (5752, 2023-03-31)
di_test.go (1784, 2023-03-31)
doc.go (307, 2023-03-31)
errors.go (671, 2023-03-31)
example_test.go (4278, 2023-03-31)
go.mod (227, 2023-03-31)
go.sum (1341, 2023-03-31)
internal/ (0, 2023-03-31)
internal/compiler/ (0, 2023-03-31)
internal/compiler/compiler.go (553, 2023-03-31)
internal/compiler/constructor.go (3904, 2023-03-31)
internal/compiler/constructor_test.go (4023, 2023-03-31)
internal/compiler/type.go (1531, 2023-03-31)
internal/compiler/type_test.go (2184, 2023-03-31)
internal/compiler/value.go (850, 2023-03-31)
internal/compiler/value_test.go (1343, 2023-03-31)
internal/cycle/ (0, 2023-03-31)
internal/cycle/cycle.go (1028, 2023-03-31)
internal/cycle/cycle_test.go (616, 2023-03-31)
internal/runtime/ (0, 2023-03-31)
internal/runtime/runtime.go (1178, 2023-03-31)
internal/runtime/runtime_test.go (900, 2023-03-31)
option_add.go (904, 2023-03-31)
option_as.go (750, 2023-03-31)
option_builder.go (2085, 2023-03-31)
option_caller.go (649, 2023-03-31)
... ...

# GoZix DI [documentation-img]: https://img.shields.io/badge/godoc-reference-blue.svg?color=24B898&style=for-the-badge&logo=go&logoColor=ffffff [documentation-url]: https://pkg.go.dev/github.com/gozix/di [license-img]: https://img.shields.io/github/license/gozix/di.svg?style=for-the-badge [license-url]: https://github.com/gozix/di/blob/master/LICENSE [release-img]: https://img.shields.io/github/tag/gozix/di.svg?label=release&color=24B898&logo=github&style=for-the-badge [release-url]: https://github.com/gozix/di/releases/latest [build-status-img]: https://img.shields.io/github/actions/workflow/status/gozix/di/go.yml?logo=github&style=for-the-badge [build-status-url]: https://github.com/gozix/di/actions [go-report-img]: https://img.shields.io/badge/go%20report-A%2B-green?style=for-the-badge [go-report-url]: https://goreportcard.com/report/github.com/gozix/di [code-coverage-img]: https://img.shields.io/codecov/c/github/gozix/di.svg?style=for-the-badge&logo=codecov [code-coverage-url]: https://codecov.io/gh/gozix/di [![License][license-img]][license-url] [![Documentation][documentation-img]][documentation-url] [![Release][release-img]][release-url] [![Build Status][build-status-img]][build-status-url] [![Go Report Card][go-report-img]][go-report-url] [![Code Coverage][code-coverage-img]][code-coverage-url] Dependency injection for Go programming language. ## Features - Auto wiring - Constructor injection - Instance injection - Interfaces support - Optional injection - Field injection - Lazy loading - Tagging - Cleaning ## Installation ```shell go get github.com/gozix/di ``` ## Documentation You can find documentation on [pkg.go.dev][documentation-url] and read source code if needed. ## Questions If you have any questions, feel free to create an issue.

近期下载者

相关文件


收藏者