portal/interfaces/database.go

10 lines
116 B
Go

package interfaces
import "gorm.io/gorm"
type Database interface {
Init() error
Start() error
Get() *gorm.DB
}