Documentation ¶
Index ¶
- type RepoImpl
- func (ri *RepoImpl) Delete(ctx context.Context, id string) error
- func (ri *RepoImpl) GetByID(ctx context.Context, id string) (entity.Task, error)
- func (ri *RepoImpl) GetStartedTask(ctx context.Context) (entity.Task, error)
- func (ri *RepoImpl) GetUncompleteParentTasks(ctx context.Context, projectID string) (entity.Tasks, error)
- func (ri *RepoImpl) GetUncompleteSubTask(ctx context.Context, projectID string) (map[string]entity.Tasks, error)
- func (ri *RepoImpl) Insert(ctx context.Context, taskEntity entity.Task) error
- func (ri *RepoImpl) SetStartedTask(ctx context.Context, task entity.Task) error
- func (ri *RepoImpl) Update(ctx context.Context, taskEntity entity.Task) error
- func (ri *RepoImpl) Upsert(ctx context.Context, taskEntity entity.Task) error
- type TaskHistoryModel
- type TaskIntegrationModel
- type TaskModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoImpl ¶
type RepoImpl struct {
// contains filtered or unexported fields
}
func (*RepoImpl) GetStartedTask ¶
func (*RepoImpl) GetUncompleteParentTasks ¶
func (*RepoImpl) GetUncompleteSubTask ¶
func (*RepoImpl) SetStartedTask ¶
type TaskHistoryModel ¶
type TaskIntegrationModel ¶
type TaskModel ¶
type TaskModel struct { ID string ProjectID string Name string Description sql.NullString IsStarted bool CompletedAt sql.NullTime ParentTaskID sql.NullString Integration sql.NullString Histories sql.NullString }
Click to show internal directories.
Click to hide internal directories.