ui

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderUI

func RenderUI(dbPool *pgxpool.Pool) error

func RightPadTrim

func RightPadTrim(s string, length int) string

Types

type HideHelpMsg

type HideHelpMsg struct{}

type Model

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

func InitialModel

func InitialModel(dbPool *pgxpool.Pool) 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 Pane

type Pane uint

type TableChosenMsg

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

type TableConstraintsFetchedMsg

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

type TableDetailsFetchedMsg

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

type TablesFetchedMsg

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

Jump to

Keyboard shortcuts

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