Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseIsNotOpenedError = errors.New("database is not opened")
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource interface {
Open(p *properties) error
IsOpened() bool
Close() error
Repository() gorm.Repository
}
func GetDataSource ¶
func GetDataSource() DataSource
type Repository ¶
type Repository interface {
gorm.Repository
}
Click to show internal directories.
Click to hide internal directories.