app

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchTitle

func FetchTitle(URL string) (string, error)

func Run

func Run() error

Types

type Flags

type Flags struct {
	URL    string
	Number int
}

func NewFlag

func NewFlag() (*Flags, error)

type GitHub

type GitHub struct {
	Client *githubv4.Client
}

func NewGitHub

func NewGitHub(token string) *GitHub

func (*GitHub) UpdateIssue

func (g *GitHub) UpdateIssue(issue *Issue, title string, body string) error

type Issue

type Issue struct {
	Number int
	Repo   *Repo
}

type Repo

type Repo struct {
	Owner string
	Name  string
}

func GetEnv

func GetEnv() (string, *Repo, error)

Jump to

Keyboard shortcuts

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