14 lines
392 B
Go
14 lines
392 B
Go
|
|
package app
|
|||
|
|
|
|||
|
|
// RepositoryModule 已在阶段4移除。
|
|||
|
|
//
|
|||
|
|
// 当前阶段,Repository 由 internal/container.Container 内部构造。
|
|||
|
|
//
|
|||
|
|
// TODO(阶段6): Container 移除后,Repository 将回到此 Module 由 fx 直接管理:
|
|||
|
|
//
|
|||
|
|
// var RepositoryModule = fx.Options(
|
|||
|
|
// fx.Provide(repository.NewUserRepository),
|
|||
|
|
// fx.Provide(repository.NewProfileRepository),
|
|||
|
|
// ...
|
|||
|
|
// )
|