优化结构
This commit is contained in:
@@ -3,6 +3,8 @@ package integration
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"kra/internal/integration/runtimeconfig"
|
||||
|
||||
"github.com/google/wire"
|
||||
)
|
||||
|
||||
// Provider is the minimal database/runtime seam for integration configuration.
|
||||
@@ -10,3 +12,5 @@ type Provider interface {
|
||||
DB() *gorm.DB
|
||||
IntegrationRuntime() *runtimeconfig.Store
|
||||
}
|
||||
|
||||
var ProviderSet = wire.NewSet(NewIntegrationConfigRepo, NewPaymentConfigReader)
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
package integration
|
||||
|
||||
import "github.com/google/wire"
|
||||
|
||||
var ProviderSet = wire.NewSet(NewIntegrationConfigRepo, NewPaymentConfigReader)
|
||||
Reference in New Issue
Block a user