Go的基于依赖项注入的应用程序框架。-Golang开发

时间:2021-05-26 14:36:35
【文件属性】:
文件名称:Go的基于依赖项注入的应用程序框架。-Golang开发
文件大小:95KB
文件格式:ZIP
更新时间:2021-05-26 14:36:35
Golang Miscellaneous :unicorn:Fx Go的一个应用程序框架:简化依赖注入。 消除了对全局状态和func init()的需求。 安装我们建议锁定到SemVer范围:unicorn:Fx Go的应用程序框架:简化依赖注入。 消除了对全局状态和func init()的需求。 安装我们建议使用Glide锁定到SemVer范围^ 1:glide get'go.uber.org/fx#^1'或者,您可以使用go mod将其添加为依赖项:go get go.uber.org/ [电子邮件保护]或使用dep:dep确保-add go.uber.org/ [受电子邮件保护]稳定性该库是v1,严格遵循SemVer。 博览会不会有重大变化
【文件预览】:
fx-master
----fxtest()
--------printer.go(1KB)
--------tb_test.go(2KB)
--------app.go(2KB)
--------app_test.go(3KB)
--------lifecycle.go(3KB)
--------tb.go(1KB)
--------lifecycle_test.go(3KB)
--------printer_test.go(1KB)
----supply.go(3KB)
----checklicense.sh(294B)
----extract.go(4KB)
----annotated.go(3KB)
----opt_test.go(1KB)
----printer_writer.go(2KB)
----app_unixes.go(1KB)
----extract_test.go(7KB)
----internal()
--------testutil()
--------lifecycle()
--------fxlog()
--------fxreflect()
----doc.go(2KB)
----populate.go(3KB)
----.github()
--------workflows()
----app.go(24KB)
----app_test.go(26KB)
----supply_test.go(3KB)
----example_test.go(9KB)
----populate_example_test.go(2KB)
----tools_test.go(1KB)
----LICENSE(1KB)
----populate_test.go(6KB)
----CONTRIBUTING.md(2KB)
----lifecycle.go(2KB)
----version.go(1KB)
----annotated_test.go(5KB)
----app_internal_test.go(2KB)
----inout_test.go(4KB)
----glide.yaml(534B)
----.gitignore(108B)
----.codecov.yml(764B)
----CHANGELOG.md(10KB)
----app_windows.go(1KB)
----Makefile(945B)
----inout.go(9KB)
----shutdown_test.go(2KB)
----go.sum(6KB)
----README.md(2KB)
----error_example_test.go(2KB)
----go.mod(361B)
----shutdown.go(3KB)

网友评论