portal/interfaces/database.go

10 lines
124 B
Go
Raw Normal View History

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