refactor: use service interface
This commit is contained in:
parent
2500b3f047
commit
2693c892a4
|
@ -3,7 +3,6 @@ package interfaces
|
|||
import "gorm.io/gorm"
|
||||
|
||||
type Database interface {
|
||||
Init() error
|
||||
Start() error
|
||||
Get() *gorm.DB
|
||||
Service
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue