Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type Iteration struct + func New(options ...Option) *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) GetIterationSummary(projectID uint64, iterationID uint64) (*apistructs.ISummary, error) + func (itr *Iteration) Paging(req apistructs.IterationPagingRequest) ([]dao.Iteration, uint64, error) + func (itr *Iteration) SetIssueSummaries(projectID uint64, iterationMap map[int64]*apistructs.Iteration) error + func (itr *Iteration) Update(id uint64, req apistructs.IterationUpdateRequest) error + type Option func(*Iteration) + func WithDBClient(db *dao.DBClient) Option + func WithIssueDBClient(db *issuedao.DBClient) Option + func WithIssueQuery(q query.Interface) Option