Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewMySQLMigrate, NewUsersOperator, NewTableModels, NewInitOperator, NewAPPOperator)
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 ¶
Click to show internal directories.
Click to hide internal directories.