iteration

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package iteration 封装 迭代 相关操作

Index

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 New

func New(options ...Option) *Iteration

New 新建 Iteration 实例

func (*Iteration) Create

Create 创建迭代

func (*Iteration) Delete

func (itr *Iteration) Delete(id uint64) error

Delete 删除 iteration

func (*Iteration) Get

func (itr *Iteration) Get(id uint64) (*dao.Iteration, error)

Get 获取 iteration 详情

func (*Iteration) GetByTitle

func (itr *Iteration) GetByTitle(projectID uint64, title string) (*dao.Iteration, error)

GetByTitle 根据 title 获取 iteration 详情

func (*Iteration) GetIssueSummary

func (itr *Iteration) GetIssueSummary(iterationID int64, projectID uint64) (apistructs.ISummary, error)

func (*Iteration) Paging

func (*Iteration) Update

Update 更新 iteration

type Option

type Option func(*Iteration)

Option 定义 Iteration 配置选项

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 Iteration 数据库选项

func WithIssue

func WithIssue(is *issue.Issue) Option

WithIssue 配置 issue service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL