Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(shoppingLists domain.ShoppingListRepository, stores domain.StoreRepository, products domain.ProductRepository, orders domain.OrderRepository) *Application
type Commands ¶
type Commands interface { CreateShoppingList(ctx context.Context, cmd commands.CreateShoppingList) error CancelShoppingList(ctx context.Context, cmd commands.CancelShoppingList) error AssignShoppingList(ctx context.Context, cmd commands.AssignShoppingList) error CompleteShoppingList(ctx context.Context, cmd commands.CompleteShoppingList) error }
type Queries ¶
type Queries interface {
GetShoppingList(ctx context.Context, query queries.GetShoppingList) (*domain.ShoppingList, error)
}
Click to show internal directories.
Click to hide internal directories.