Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
func MustNewRedis ¶
func MustNewRedis() *redis.Client
Types ¶
type Migrations ¶
type Migrations struct {
// contains filtered or unexported fields
}
func NewMigrations ¶
func NewMigrations(db *gorm.DB) *Migrations
func (*Migrations) Run ¶
func (m *Migrations) Run(db *gorm.DB)
Click to show internal directories.
Click to hide internal directories.