Documentation ¶
Index ¶
- type AttachCommand
- type CreateCommand
- type DetachCommand
- type ListQuery
- type OneQuery
- type RemoveCommand
- type Repository
- func (r Repository) Attach(ctx context.Context, boardID string, id string, childID string) error
- func (r Repository) Create(ctx context.Context, boardID string, lane *models.Lane) error
- func (r Repository) Detach(ctx context.Context, boardID string, id string, childID string) error
- func (r Repository) FindByID(ctx context.Context, id kernel.MemberID, visitor func(*models.Lane) error) error
- func (r Repository) FindByParent(ctx context.Context, id kernel.MemberID, ...) error
- func (r Repository) Remove(ctx context.Context, boardID string, id string) error
- func (r Repository) Update(ctx context.Context, boardID string, id string, field string, ...) error
- type UpdateCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachCommand ¶
AttachCommand type
type CreateCommand ¶
CreateCommand type
type DetachCommand ¶
DetachCommand type
type RemoveCommand ¶
RemoveCommand type
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository for lanes
func CreateRepository ¶
func CreateRepository(r *mongo.Repository) Repository
CreateRepository method
func (Repository) FindByID ¶
func (r Repository) FindByID(ctx context.Context, id kernel.MemberID, visitor func(*models.Lane) error) error
FindByID method
func (Repository) FindByParent ¶
func (r Repository) FindByParent(ctx context.Context, id kernel.MemberID, visitor func(*models.LaneListModel) error) error
FindByParent method
Click to show internal directories.
Click to hide internal directories.