Versions in this module Expand all Collapse all v1 v1.0.0 Jan 17, 2024 Changes in this version + const ActionWorkerExamplePath + const I18nExampleKey + const InternationalizationExamplePath + const ListingSamplePath + const LocalizationExamplePath + const PresetsBasicFilterPath + const PresetsConfirmDialogPath + const PublishExamplePath + const WorkerExamplePath + var DB *gorm.DB + var Messages_en_US = &Messages + var Messages_ja_JP = &Messages + var Messages_ja_JP_ModelsI18nModuleKey = &Messages_ModelsI18nModuleKey + var Messages_zh_CN = &Messages + var Messages_zh_CN_ModelsI18nModuleKey = &Messages_ModelsI18nModuleKey + var Que = &mock.QueueMock + func ActionWorkerExampleMock(b *presets.Builder) + func ConsumeQueItem(job worker.QueJobInterface) (err error) + func InternationalizationExample(b *presets.Builder) + func ListingSample(b *presets.Builder) + func LocalizationExampleMock(b *presets.Builder) + func MountActionWorker(b *presets.Builder) + func MountWorker(b *presets.Builder) + func PresetsBasicFilter(b *presets.Builder) + func PresetsConfirmDialog(b *presets.Builder) + func PublishExample(b *presets.Builder) + func WorkerExampleMock(b *presets.Builder) + type Category struct + CreatedAt time.Time + ID uint + Name string + UpdatedAt time.Time + type ExampleResource struct + Name string + type L10nModel struct + Title string + func (lm *L10nModel) PrimaryColumnValuesBySlug(slug string) map[string]string + func (lm *L10nModel) PrimarySlug() string + type Messages struct + Admin string + Welcome string + type Messages_ModelsI18nModuleKey struct + Homes string + Videos string + VideosDescription string + VideosName string + type Post struct + Body string + CategoryID uint + CreatedAt time.Time + Disabled bool + ID uint + Status string + Title string + UpdatedAt time.Time + type Product struct + Name string + Price int + func (p *Product) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Product) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (p *Product) PrimaryColumnValuesBySlug(slug string) map[string]string + func (p *Product) PrimarySlug() string + type User struct + Address string + Name string