优化结构
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
package system
|
||||
|
||||
import (
|
||||
"kra/internal/conf"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
// Provider exposes the shared data infrastructure needed by system
|
||||
// repositories without coupling this module to the parent data package.
|
||||
type Provider interface {
|
||||
DB() *gorm.DB
|
||||
Database(name string) (*gorm.DB, error)
|
||||
DatabaseReady() bool
|
||||
Runtime() *conf.Runtime
|
||||
}
|
||||
Reference in New Issue
Block a user