Documentation
¶
Index ¶
- Variables
- func ModuleFactory(ctx context.Context, config cfg.Config, logger log.Logger) (kernel.Module, error)
- func NewHistoryRepository(ctx context.Context, config cfg.Config, logger log.Logger) (db_repo.RepositoryReadOnly, error)
- func NewRepository(ctx context.Context, config cfg.Config, logger log.Logger) (db_repo.Repository, error)
- type Item
- type ItemsHistory
Constants ¶
This section is empty.
Variables ¶
View Source
var FixtureSets = []*fixtures.FixtureSet{ { Enabled: true, Writer: fixtures.MysqlOrmFixtureWriterFactory(&tableMetadata), Fixtures: []interface{}{ &Item{ Model: db_repo.Model{ Id: mdl.Box(uint(2)), }, ChangeHistoryEmbeddable: db_repo.ChangeHistoryEmbeddable{}, Action: "update", Name: "foo", }, &Item{ Model: db_repo.Model{ Id: mdl.Box(uint(3)), }, ChangeHistoryEmbeddable: db_repo.ChangeHistoryEmbeddable{}, Action: "delete", Name: "foo", }, }, }, }
Functions ¶
func ModuleFactory ¶
func NewHistoryRepository ¶
Types ¶
type ItemsHistory ¶
type ItemsHistory struct { db_repo.ChangeHistoryModel Item }
Click to show internal directories.
Click to hide internal directories.