Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandDBSeed ¶
CommandDBSeed to apply DB changes.
func (*CommandDBSeed) GetCommand ¶
func (c *CommandDBSeed) GetCommand() cli.Command
GetCommand for the cli to register.
type CommandMakeMigration ¶
type CommandMakeMigration struct { Logger *logger.Logger // contains filtered or unexported fields }
CommandMakeMigration to apply DB changes.
func (*CommandMakeMigration) GetCommand ¶
func (c *CommandMakeMigration) GetCommand() cli.Command
GetCommand for the cli to register.
type CommandMigrate ¶
CommandMigrate to apply DB changes.
func (*CommandMigrate) GetCommand ¶
func (c *CommandMigrate) GetCommand() cli.Command
GetCommand for the cli to register.
type CommandMigrateReset ¶
CommandMigrateReset to apply DB changes.
func (*CommandMigrateReset) GetCommand ¶
func (c *CommandMigrateReset) GetCommand() cli.Command
GetCommand for the cli to register.
type CommandMigrateRollback ¶
CommandMigrateRollback to apply DB changes.
func (*CommandMigrateRollback) GetCommand ¶
func (c *CommandMigrateRollback) GetCommand() cli.Command
GetCommand for the cli to register.
type Manager ¶
type Manager struct { Driver string `di:"Config.Database.Driver"` DSN string `di:"Config.Database.DSN"` Debug bool `di:"Config.App.Debug"` Logger *logger.Logger // contains filtered or unexported fields }
Manager to the database.
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator engine to work with migrations.
func (*Migrator) SetMigrations ¶
SetMigrations to run.
type ModelNotFoundError ¶
type ModelNotFoundError struct { Model interface{} IDs []interface{} }
ModelNotFoundError .
func ModelNotFound ¶
func ModelNotFound(model interface{}, ids []interface{}) *ModelNotFoundError
ModelNotFound error constructor.
func (*ModelNotFoundError) Error ¶
func (e *ModelNotFoundError) Error() string
Error returns error message.
type ServiceProvider ¶
type ServiceProvider struct{}
ServiceProvider struct.
func (*ServiceProvider) Register ¶
func (p *ServiceProvider) Register(application *larago.Application)
Register service.
Click to show internal directories.
Click to hide internal directories.