Documentation ¶
Overview ¶
Package iteration 封装 迭代 相关操作
Index ¶
- type Iteration
- func (itr *Iteration) Create(req *apistructs.IterationCreateRequest) (*dao.Iteration, error)
- func (itr *Iteration) Delete(id uint64) error
- func (itr *Iteration) Get(id uint64) (*dao.Iteration, error)
- func (itr *Iteration) GetByTitle(projectID uint64, title string) (*dao.Iteration, error)
- func (itr *Iteration) GetIssueSummary(iterationID int64, projectID uint64) (apistructs.ISummary, error)
- func (itr *Iteration) Paging(req apistructs.IterationPagingRequest) ([]dao.Iteration, uint64, error)
- func (itr *Iteration) Update(id uint64, req apistructs.IterationUpdateRequest) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iteration ¶
type Iteration struct {
// contains filtered or unexported fields
}
Iteration 迭代操作封装
func (*Iteration) Create ¶
func (itr *Iteration) Create(req *apistructs.IterationCreateRequest) (*dao.Iteration, error)
Create 创建迭代
func (*Iteration) GetByTitle ¶
GetByTitle 根据 title 获取 iteration 详情
func (*Iteration) GetIssueSummary ¶
func (*Iteration) Paging ¶
func (itr *Iteration) Paging(req apistructs.IterationPagingRequest) ([]dao.Iteration, uint64, error)
func (*Iteration) Update ¶
func (itr *Iteration) Update(id uint64, req apistructs.IterationUpdateRequest) error
Update 更新 iteration
Click to show internal directories.
Click to hide internal directories.