Documentation ¶
Index ¶
- type CategoryReadModelProjectEnt
- type CategoryRepositoryEnt
- func (c CategoryRepositoryEnt) Create(ctx context.Context, entity *category.Category) error
- func (c CategoryRepositoryEnt) Load(ctx context.Context, id string) (entity *category.Category, err error)
- func (c CategoryRepositoryEnt) Update(ctx context.Context, id string, entity *category.Category) error
- type ProductRepository
- func (p ProductRepository) Create(ctx context.Context, entity *product.Product) (err error)
- func (p ProductRepository) Load(ctx context.Context, id string) (entity *product.Product, err error)
- func (p ProductRepository) LoadById(ctx context.Context, id string) (query.Product, error)
- func (p ProductRepository) Update(ctx context.Context, id string, entity *product.Product) error
- type ProductsReadModelQueryProjector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryReadModelProjectEnt ¶ added in v1.5.0
type CategoryReadModelProjectEnt struct {
// contains filtered or unexported fields
}
func NewCategoryReadModelProjectEnt ¶ added in v1.5.0
func NewCategoryReadModelProjectEnt(client *ent.Client) *CategoryReadModelProjectEnt
type CategoryRepositoryEnt ¶
type CategoryRepositoryEnt struct {
// contains filtered or unexported fields
}
func NewCategoryRepositoryEnt ¶
func NewCategoryRepositoryEnt(client *ent.Client) *CategoryRepositoryEnt
type ProductRepository ¶
type ProductRepository struct {
// contains filtered or unexported fields
}
func NewProductRepository ¶
func NewProductRepository(client *ent.Client) *ProductRepository
type ProductsReadModelQueryProjector ¶ added in v1.6.0
type ProductsReadModelQueryProjector struct {
// contains filtered or unexported fields
}
func NewProductsReadModelQueryProjector ¶ added in v1.6.0
func NewProductsReadModelQueryProjector(client *ent.Client) *ProductsReadModelQueryProjector
func (ProductsReadModelQueryProjector) GetAllProducts ¶ added in v1.6.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.