github

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config *config.Config

Config is a pointer to the global config object

Functions

This section is empty.

Types

type GithubRepo

type GithubRepo struct {
	Name         string
	Owner        string
	PullRequests []*ghb.PullRequest
	// contains filtered or unexported fields
}

func NewGithubRepo

func NewGithubRepo(name, owner string) *GithubRepo

func (*GithubRepo) Repository

func (repo *GithubRepo) Repository() (*ghb.Repository, error)

type Widget

type Widget struct {
	wtf.TextWidget

	Data []*GithubRepo
	Idx  int
	// contains filtered or unexported fields
}

func NewWidget

func NewWidget(app *tview.Application, pages *tview.Pages) *Widget

func (*Widget) Next

func (widget *Widget) Next()

func (*Widget) Prev

func (widget *Widget) Prev()

func (*Widget) Refresh

func (widget *Widget) Refresh()

Jump to

Keyboard shortcuts

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