Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySqlAdapter ¶
type MySqlAdapter struct {
// contains filtered or unexported fields
}
func (*MySqlAdapter) Migrate ¶
func (m *MySqlAdapter) Migrate(tables ...interface{}) error
func (*MySqlAdapter) Ping ¶
func (m *MySqlAdapter) Ping() error
type MySqlAdapterConfig ¶
type SqlDataAdapter ¶
type SqlDataAdapter interface { GetDB() (*gorm.DB, error) Migrate(...interface{}) error Ping() error }
func NewMySqlAdapter ¶
func NewMySqlAdapter(config MySqlAdapterConfig) (SqlDataAdapter, error)
Click to show internal directories.
Click to hide internal directories.