migrate

package
v0.0.0-...-585f190 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type APPOperator

type APPOperator struct {
	// contains filtered or unexported fields
}

func NewAPPOperator

func NewAPPOperator(mysql *tiga.MySQLDao) *APPOperator

func (*APPOperator) InitAdminAPP

func (m *APPOperator) InitAdminAPP(owner string) error

type InitOperator

type InitOperator struct {
	// contains filtered or unexported fields
}

func NewInitOperator

func NewInitOperator(migrate *MySQLMigrate, user *UsersOperator, app *APPOperator, config *config.Config) *InitOperator

func (*InitOperator) Init

func (m *InitOperator) Init() error

type MySQLMigrate

type MySQLMigrate struct {
	// contains filtered or unexported fields
}

func NewMySQLMigrate

func NewMySQLMigrate(mysql *tiga.MySQLDao, models ...TableModel) *MySQLMigrate

func (*MySQLMigrate) BindModel

func (m *MySQLMigrate) BindModel(model interface{})

func (*MySQLMigrate) Do

func (m *MySQLMigrate) Do() error

type TableModel

type TableModel interface{}

func NewTableModels

func NewTableModels() []TableModel

type UsersOperator

type UsersOperator struct {
	// contains filtered or unexported fields
}

func NewUsersOperator

func NewUsersOperator(mysql *tiga.MySQLDao) *UsersOperator

func (*UsersOperator) InitAdminUser

func (m *UsersOperator) InitAdminUser(passwd string, aseKey, ivKey string, name, email, phone string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL