issuestate

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueState

type IssueState struct {
	// contains filtered or unexported fields
}

IssueState issue state service 对象

func New

func New(options ...Option) *IssueState

New 新建 issue state 对象

func (*IssueState) GetIssuesStatesNameByID

func (is *IssueState) GetIssuesStatesNameByID(id []int64) ([]apistructs.IssueStatus, error)

func (*IssueState) InitProjectState

func (is *IssueState) InitProjectState(projectID int64, locale string) error

type Option

type Option func(*IssueState)

Option 定义 IssueState 对象配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 db client

Jump to

Keyboard shortcuts

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