ui

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_HELP_MESSAGE = `` /* 269-byte string literal not displayed */
View Source
const FOCUS_COLUMN_COLOR = tcell.Color40

Variables

View Source
var HELP_MESSAGE = func() string {
	t := time.Now()
	dateTime := t.Format("2006/1/2 15:04:05")

	message := fmt.Sprintf("last updated %s\n %s", dateTime, DEFAULT_HELP_MESSAGE)

	return message
}

Functions

This section is empty.

Types

type Card added in v0.1.4

type Card struct {
	*tview.TableCell
	Id int64
	api.Card
}

type Column

type Column struct {
	*tview.Table

	Id int64
	// contains filtered or unexported fields
}

func (*Column) SetCards added in v0.1.5

func (c *Column) SetCards(cards []api.Card)

type Columns

type Columns struct {
	*tview.Grid
	// contains filtered or unexported fields
}

type Content

type Content struct {
	*tview.TextView
}

type GhpjSettings

type GhpjSettings struct {
	Client       *api.Client
	Repository   git.Repository
	SearchString string
	ProjectUrl   string
	V3Client     *github.Client
}

type Help

type Help struct {
	*tview.TextView
}

func (*Help) Update

func (h *Help) Update()

type Notciation

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

type Pos

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

type Tui

type Tui struct {
	App *tview.Application
	// contains filtered or unexported fields
}

func NewTui

func NewTui(g *GhpjSettings) *Tui

func (*Tui) Run

func (tui *Tui) Run(ctx context.Context)

type View

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

Jump to

Keyboard shortcuts

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