ui

package
v0.0.0-...-cccc563 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapModel

type BootstrapModel struct {
	Repository    gh.Repository
	PullRequestId int
	// contains filtered or unexported fields
}

func NewBootstrapModel

func NewBootstrapModel() BootstrapModel

func (BootstrapModel) Init

func (m BootstrapModel) Init() tea.Cmd

func (BootstrapModel) IsComplete

func (m BootstrapModel) IsComplete() bool

func (BootstrapModel) Update

func (m BootstrapModel) Update(msg tea.Msg) (BootstrapModel, tea.Cmd)

func (BootstrapModel) View

func (m BootstrapModel) View() string

type CommitsModel

type CommitsModel struct {
	Repository    gh.Repository
	PullRequestId int
	// contains filtered or unexported fields
}

func NewCommitsModel

func NewCommitsModel() CommitsModel

func (CommitsModel) Init

func (m CommitsModel) Init() tea.Cmd

func (CommitsModel) IsComplete

func (m CommitsModel) IsComplete() bool

func (CommitsModel) Update

func (m CommitsModel) Update(msg tea.Msg) (CommitsModel, tea.Cmd)

func (CommitsModel) View

func (m CommitsModel) View() string

type Model

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

func NewModel

func NewModel() Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type SplitModel

type SplitModel struct {
	Repository    gh.Repository
	PullRequestId int
	Commits       []cmd.Commit
	// contains filtered or unexported fields
}

func NewSplitModel

func NewSplitModel() SplitModel

func (SplitModel) Init

func (m SplitModel) Init() tea.Cmd

func (SplitModel) IsComplete

func (m SplitModel) IsComplete() bool

func (SplitModel) Update

func (m SplitModel) Update(msg tea.Msg) (SplitModel, tea.Cmd)

func (SplitModel) View

func (m SplitModel) View() string

Jump to

Keyboard shortcuts

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