Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + type Commands struct + Create CreateHandler + Delete DeleteHandler + Update UpdateHandler + func NewCommands(repo notebook.Repository, workspaceReadModel workspace.WorkspaceReadModel, ...) *Commands + type CreateCommand struct + Content []byte + Name string + WorkspaceID string + type CreateHandler interface + Handle func(context.Context, *CreateCommand) error + func NewCreateHandler(svc notebook.Service, workspaceReadModel workspace.WorkspaceReadModel) CreateHandler + type DeleteCommand struct + Name string + WorkspaceID string + type DeleteHandler interface + Handle func(context.Context, *DeleteCommand) error + func NewDeleteHandler(svc notebook.Service, workspaceReadModel workspace.WorkspaceReadModel) DeleteHandler + type UpdateCommand struct + Content []byte + Name string + WorkspaceID string + type UpdateHandler interface + Handle func(context.Context, *UpdateCommand) error + func NewUpdateHandler(svc notebook.Service, workspaceReadModel workspace.WorkspaceReadModel) UpdateHandler