优化结构

This commit is contained in:
Yvan
2026-08-28 09:44:11 +08:00
parent 279692375b
commit e997d9718e
26 changed files with 106 additions and 129 deletions
+4
View File
@@ -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)
-5
View File
@@ -1,5 +0,0 @@
package integration
import "github.com/google/wire"
var ProviderSet = wire.NewSet(NewIntegrationConfigRepo, NewPaymentConfigReader)