portal/interfaces/database.go

10 lines
116 B
Go
Raw Normal View History

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