优化结构
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package system
|
||||
|
||||
import (
|
||||
"kra/internal/conf"
|
||||
"kra/internal/config"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
@@ -12,5 +12,5 @@ type Provider interface {
|
||||
DB() *gorm.DB
|
||||
Database(name string) (*gorm.DB, error)
|
||||
DatabaseReady() bool
|
||||
Runtime() *conf.Runtime
|
||||
Runtime() *config.Store
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user