Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectRepository ¶
func NewProjectRepository ¶
func NewProjectRepository(db *gorm.DB) *ProjectRepository
func (*ProjectRepository) CreateProject ¶
func (r *ProjectRepository) CreateProject(project *model.Project) error
func (*ProjectRepository) DeleteProject ¶
func (r *ProjectRepository) DeleteProject(id uint) error
func (*ProjectRepository) GetProject ¶
func (r *ProjectRepository) GetProject(id uint) (*model.Project, error)
type TaskRepository ¶
func NewTaskRepository ¶
func NewTaskRepository(db *gorm.DB) *TaskRepository
func (*TaskRepository) CreateTask ¶
func (tr *TaskRepository) CreateTask(task *model.Task) error
func (*TaskRepository) GetTasksByID ¶
func (tr *TaskRepository) GetTasksByID(id uint) (model.Task, error)
func (*TaskRepository) GetTasksByProject ¶
func (tr *TaskRepository) GetTasksByProject(projectID uint) ([]model.Task, error)
Click to show internal directories.
Click to hide internal directories.