portal/interfaces/database.go

10 lines
124 B
Go

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