list

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: AGPL-3.0 Imports: 10 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 {
	Title     string
	CreatedAt time.Time
	UpdatedAt time.Time
	Iid       string
	State     string
	Author    remote.User
	Assignees []remote.User
}

Issue contains information about an issue.

func QueryGitHub

func QueryGitHub(match *match.Match, projectPath string, channel chan int) ([]Issue, error)

QueryGitHub returns all issues, open and closed, of a given repository.

func QueryGitLab

func QueryGitLab(match *match.Match, projectPath string, channel chan int) ([]Issue, error)

QueryGitLab returns all issues, open and closed, of a given repository.

func (*Issue) UpdateUsername

func (i *Issue) UpdateUsername(ownUsername string)

UpdateUsername replaces the mentions of the user's username with "you".

Jump to

Keyboard shortcuts

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