Documentation
¶
Index ¶
Constants ¶
View Source
const ( POSTGRES = "postgres" SQLITE = "sqlite" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GORMHandler ¶
func NewGormEngine ¶
func NewGormEngine(opts Options) (GORMHandler, error)
func (*GORMHandler) DBClose ¶
func (h *GORMHandler) DBClose() error
type Model ¶
type Options ¶
type XORMHandler ¶
type XORMHandler struct {
// contains filtered or unexported fields
}
func NewXormEngine ¶
func NewXormEngine(opts Options) (*XORMHandler, error)
Source Files
¶
- common.go
- gorm_database.go
- xorm_database.go
Click to show internal directories.
Click to hide internal directories.