gitlabissues

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	State       string    `json:"state"`
	Title       string    `json:"title"`
	Description string    `json:"description"`
	UpdateAt    time.Time `json:"updated_at"`
	ClosedAt    time.Time `json:"closed_at"`
	CreatedAt   time.Time `json:"created_at"`
}

type Issues

type Issues []Issue

func (Issues) PrintIssues

func (i Issues) PrintIssues(printHeader bool)

func (Issues) PrintTab

func (i Issues) PrintTab()

type RequestIssues

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

func NewRequestIssues

func NewRequestIssues() *RequestIssues

func (*RequestIssues) GetIssues

func (r *RequestIssues) GetIssues() (Issues, error)

func (*RequestIssues) SetFilterAfter

func (r *RequestIssues) SetFilterAfter(field string, d time.Time)

func (*RequestIssues) SetFilterBefore

func (r *RequestIssues) SetFilterBefore(field string, d time.Time)

func (*RequestIssues) SetGroupId

func (r *RequestIssues) SetGroupId(groupId int)

func (*RequestIssues) SetOptionClosedIssues

func (r *RequestIssues) SetOptionClosedIssues()

func (*RequestIssues) SetOptionOpenedIssues

func (r *RequestIssues) SetOptionOpenedIssues()

func (*RequestIssues) SetPage

func (r *RequestIssues) SetPage(pageNumber uint)

func (*RequestIssues) SetProjectId

func (r *RequestIssues) SetProjectId(projectId int)

func (*RequestIssues) SetScopeCurrentUser

func (r *RequestIssues) SetScopeCurrentUser()

func (*RequestIssues) Url

func (r *RequestIssues) Url() (url string)

Jump to

Keyboard shortcuts

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