Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func ConenctDB ¶
func ConenctDB(conn DBConenctor) error
Types ¶
type DBConenctor ¶
type MySqlConenctor ¶
type MySqlConenctor struct {
// contains filtered or unexported fields
}
func NewMySqlConnector ¶
func NewMySqlConnector(url string) *MySqlConenctor
type SqliteConenctor ¶
type SqliteConenctor struct {
// contains filtered or unexported fields
}
func NewSqlConnector ¶
func NewSqlConnector(path string) *SqliteConenctor
Click to show internal directories.
Click to hide internal directories.